json string to map

Home Forums Basic Erlang json string to map

This topic contains 1 reply, has 2 voices, and was last updated by  mpmiszczyk 2 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #37293

    dao cuong (dao): Hi any one please tell me what is the best way to convert json string to map and map to json string


    Valerij Vasilkov: you can convert map to prop list and use known libraries for json conversations as a jsx or a jiffy
    but you must to be sure, that your keys and values in prop list – are binary | integer | float | true | false | null
    in another way you will have bag_arg in jsx



    I would recommend using jsxn which is especially build for using maps

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.