Addons/convert/json

From J Wiki
Jump to navigation Jump to search

convert/json supports conversion from json to a representation in J, using dec_json. These values can also be converted back to json using enc_json. For example:

   dec_json'[1,2,3]'
┌─┬─┬─┐
123
└─┴─┴─┘
   enc_json dec_json'[1,2,3]'
[1,2,3]

See also: convert/pjson