Invalid JSON in API response
Every API action that returns field "criteria" (EXPORT, FETCH), returns it like this: "(\"Id\"=\'id_2\')", which is invalid. Here's a full response that fails JSON validation:
- {
- "response":
- {
- "uri":"....",
- "action":"EXPORT",
- "criteria":"(\"Id\"=\'id_2\')",
- "result":
- {
- "column_order":["Id","table1field1","table1field2","table1field3"],
- "rows":[
- ["id_2","table1field1 0.8437630341483484","table1field2 0.42889064981418046","table1field3 0.7589037187475842"]
- ]
- }
- }
- }