Closed raykin closed 8 years ago
<json-formatter json="{my: 'json'}" open="1" title="TestObj"></json-formatter>
So the title 'TestObj' can replace 'Object'. It can be useful when create constructor for json value is not easy(ex: json value returned from API or hash from other source)
Ok. I think I'm going to accept this PR. Please add documentations and more tests. Also please rebase into one commit.
Thanks!
I'll close it and add a new example in demo.html. what more tests do you refer to?
So the title 'TestObj' can replace 'Object'. It can be useful when create constructor for json value is not easy(ex: json value returned from API or hash from other source)