mochijson2 Questions

5

Solved

I have a var that has some JSON data: A = <<"{\"job\": {\"id\": \"1\"}}">>. Using mochijson2, I decode the data: Struct = mochijson2:decode(A). And now I have this: {struct,[{...
Leatriceleave asked 29/4, 2010 at 17:19

1

Solved

I have a list of tuples which are http headers. I want to convert the list to a JSON object. I try mochijson2 but to no avail. So I have the following : [{'Accept',"text/html,application/xhtml+xm...
Okun asked 13/10, 2010 at 12:6
1

© 2022 - 2024 — McMap. All rights reserved.