js-object-to-json
js-object-to-json copied to clipboard
PHP library to convert a JavaScript object string to JSON format
Lets say this is your JS object ``` constmyObject = { "myPropertyA": "myValue", "myPropertyB": "myValue" }; ``` The JS object minified ``` const myObject={"myPropertyA":"myValue","myPropertyB":"myValue"}; ``` When I use this package,...
Hi I found a new case when parsing the javascript object fails: ```json { "metadata": "{\"title\":\"Some // Title\"}" } ``` The parsed result is `NULL`.
Hi! Thank you for you project! I hope it can help me to parse data from a JS file. I have a following example of JS data: ``` var some_data...