mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-21 23:46:21 +01:00
Round-trip JSON keys holding a backslash, quote or control character, and generate them in the properties
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
!adf:extension {extensionKey=toc extensionType="com.atlassian.confluence.macro.core" parameters="{\"back\\\\slash\":1,\"nested\\\\\":{\"in\\\\\\\"ner\":true},\"nul\\u0000\":2,\"say \\\"hi\\\"\":3,\"tab\\tand\\u001fus\":4}"}
|
||||
|
||||
```adf:unknownBlock
|
||||
{
|
||||
"attrs": {
|
||||
"back\\slash": 1,
|
||||
"nul\u0000": 2,
|
||||
"say \"hi\"": 3,
|
||||
"tab\tand\u001fus": 4
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
See !adf:carry{json="{\"attrs\":{\"back\\\\slash\":1,\"nul\\u0000\":2,\"say \\\"hi\\\"\":3,\"tab\\tand\\u001fus\":4},\"type\":\"unknownInline\"}"} now.
|
||||
Reference in New Issue
Block a user