LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • JSON
    • Overview
  • Converting JSON to String
  • Getting Data from JSON
  • Creating and Merging JSON Objects
  • Modifying JSON
Powered by GitBook
On this page
  • Convert JSON to a String
  • Convert a String to JSON

Was this helpful?

Export as PDF

Converting JSON to String

Convert JSON to a String

To convert a JSON object to a string, use the following syntax:

get the json
get the json as a string

Convert a String to JSON

To convert a string to a JSON object, use the following syntax:

get the string
get the string as json
the string is '{"name":"John", "age":30, "city":"New York"}'
get the string as json

Last updated 1 month ago

Was this helpful?