Json file custom string format not real json?
-
Tobias,
Finally, I decided to write a plugin for some manual tasks. Draft is ready and working. Now I decided to create backup and restore buttons related to the TablePress backup and restore (separate for tables and options – it might be useful). I created array with same structure and make
json_encode
on it but I saw there are differences.After small research I saw that in original “json” file exported via TablePress the “data” value has no ” (quote). Looks like it is not converted via
json_encode
but “data” value is just added to previous string without quotes (and also without some extra backslashes). It is bug?Regards,
Darek
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Json file custom string format not real json?’ is closed to new replies.