/
Parsing and Serializing JSON
Parsing and Serializing JSON
Working with JSON data in Iguana is easy. You can parse, create, and serialize JSON data efficiently using the built-in json
module. Below is a quick guide on how to manage JSON data in the Translator.
Parsing JSON:
To parse incoming JSON data, use the json.parse{}
function. This will convert a JSON string into a Lua table, which can then be manipulated easily.
Generating and Serializing JSON:
To generate JSON, use json.serialize{}
to serialize Lua tables into a JSON Object or Array.
, multiple selections available,
Related content
Generating XML
Generating XML
More like this
Handling HTTP Responses
Handling HTTP Responses
Read with this
How can I connect Iguana to a web application with JSON
How can I connect Iguana to a web application with JSON
More like this
Working with XML
Working with XML
Read with this
Transforming Messages: HL7 to JSON
Transforming Messages: HL7 to JSON
More like this
Connecting to SOAP Web Services
Connecting to SOAP Web Services
Read with this