jsondecode
decodes a JSON string to Nelson object.
📝 Syntax
res = jsondecode(json_str)
res = jsondecode(json_str, '-file')
📥 Input argument
json_str - a json string.
'-file' - a string, first argument is the file path.
📤 Output argument
res - a nelson variable converted from JSON.
📄 Description
jsondecode converts JSON object field names to Nelson structure field names
📚 Bibliography
http://www.rfc-editor.org/rfc/rfc7159.txt
💡 Examples
🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
1.15.0
second argument added for file input
1.15.0
simdjson library used
Last updated
Was this helpful?