js-object-to-json icon indicating copy to clipboard operation
js-object-to-json copied to clipboard

PHP library to convert a JavaScript object string to JSON format

Results 3 js-object-to-json issues
Sort by recently updated
recently updated
newest added

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...