ejson icon indicating copy to clipboard operation
ejson copied to clipboard

JSON library for Erlang on top of jsx

Results 8 ejson issues
Sort by recently updated
recently updated
newest added

It gives the following error on the example given on **Usage** section: ``` The call ejson:to_json(P::[#person{name::[any(),...],birth_year::1967,projects::[]},...], [{'project', {'string', "name"}, {'number', "budget"}, {'boolean', "isSuccessful"}}, {'person', {'string', "name"}, {'number', "yearOfBirth"}, {'list', "projects"}}],...

I was having problem while converting json array of strings to encode using to_json() method. I fixed this issue by adding support for binary. Please review and update. It will...

I have an array of strings in my json like following... {"userId":1, "rooms":["4","2","3]} And I declared json like -json({user, {string, "userId"},{list,"rooms",[{default,[ ]]}}}) but it is giving me error when trying...

Can I get help for creating json object for geo shape. When tried to create json object for geo shape "polygon" with coordinates [[ [ 4.92, 52.40 ], [ 4.92,...

We have two possibilities here: - encode just gets the term and it creates a jsx term. In this case decode should behave accordingly (as right now it does this)...

As I saw only warnings can be logger into stderr, it is better than nothing.