Closed mohsen1 closed 8 years ago
When valid attribute is present, render a valid JSON that can be copied
valid
:after
undefined
NaN
Infinity
null
{
}
[
]
,
innerText
xml2json library turns an element with attribute into a string { "element:attribute": "value }. Just a thought.
{ "element:attribute": "value }
When
valid
attribute is present, render a valid JSON that can be copied:after
elements so it doesn't copyundefined
,NaN
,Infinity
, (will benull
){
,}
,[
,]
,,
where it's necessary to make JSON validinnerText