Beginning of applying filters for json types. Currently only supports html escaping.
This commit is contained in:
@@ -10,5 +10,6 @@
|
||||
],
|
||||
"object": {
|
||||
"foo": "bar"
|
||||
}
|
||||
},
|
||||
"special_characters": "<>&\"'"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
Object parsed: {string|jp}{~n}
|
||||
Object parsed and stringified: {string|jp|js}{~n}
|
||||
Object stringified and parsed: {string|js|jp}{~n}
|
||||
Special characters: {special_characters}{~n}
|
||||
|
||||
Object string parsed: {string|jp}{~n}
|
||||
Object string parsed and stringified: {string|jp|js}{~n}
|
||||
Object string stringified and parsed: {string|js|jp}{~n}
|
||||
|
||||
Array: {array}{~n}
|
||||
Array stringified: {array|js}{~n}
|
||||
Array stringified and parsed: {array|js|jp}{~n}
|
||||
|
||||
Object: {object}{~n}
|
||||
Object html escaped: {object|h}{~n}
|
||||
Object html escaping disabled: {object|s}{~n}
|
||||
Object stringified: {object|js}{~n}
|
||||
Object stringified and parsed: {object|js|jp}{~n}
|
||||
|
||||
Reference in New Issue
Block a user