Monday, June 19, 2023
Tip of the Day: Specify the Root Node Path with JSON Imports
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.5.20615 or higher
Sections......: File Gateway
Keywords......: Import, JSON, Root Node, NODE_PATH
Did you know that it is now possible to set the node path to the root
for JSON imports?
When importing JSON format data, the NODE_PATH parameter may be used to
set the node path to the root with a backslash character.
The change is applicable to JSON files where only the data row items are
in the file.
GATEWAY IMPORT JSON CustResponse.json +
REPLACE CustResponse +
OPTION NODE_PATH \
In the above command, the NODE_PATH parameter is set to a backslash,
meaning the root.
If an unexpected format is detected, a "JSON To Data Packet" utility
will be displayed. The valid node must be selected which contains the
collection of rows. However, R:BASE will not prompt the user if the
NODE_PATH parameter is used.
Very Best R:egards,
Razzak.
R:BASE Technologies, Inc.
https://www.rbase.com
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/1c515ac4-c7e6-7056-6f4f-326ae8f360b6%40rbase.com.