diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
commit | c484829272cd13a738e35412498e12f2c9a194ac (patch) | |
tree | a1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/json/refs1 | |
parent | Initial commit. (diff) | |
download | liborcus-c484829272cd13a738e35412498e12f2c9a194ac.tar.xz liborcus-c484829272cd13a738e35412498e12f2c9a194ac.zip |
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/json/refs1')
-rw-r--r-- | test/json/refs1/check.txt | 19 | ||||
-rw-r--r-- | test/json/refs1/input.json | 4 | ||||
-rw-r--r-- | test/json/refs1/ref.json | 2 |
3 files changed, 25 insertions, 0 deletions
diff --git a/test/json/refs1/check.txt b/test/json/refs1/check.txt new file mode 100644 index 0000000..2650ebe --- /dev/null +++ b/test/json/refs1/check.txt @@ -0,0 +1,19 @@ +ns0="http://schemas.kohei.us/orcus/2015/json" +/ns0:object +/ns0:object/ns0:item +/ns0:object/ns0:item@name="ref1" +/ns0:object/ns0:item/ns0:number +/ns0:object/ns0:item/ns0:number@value="1" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="ref2" +/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:number +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:number@value="12" +/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:number +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:number@value="34" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="ref3" +/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:string@value="foo" diff --git a/test/json/refs1/input.json b/test/json/refs1/input.json new file mode 100644 index 0000000..9889889 --- /dev/null +++ b/test/json/refs1/input.json @@ -0,0 +1,4 @@ +{ + "$ref": "./ref.json" +} + diff --git a/test/json/refs1/ref.json b/test/json/refs1/ref.json new file mode 100644 index 0000000..17f67b4 --- /dev/null +++ b/test/json/refs1/ref.json @@ -0,0 +1,2 @@ +{ "ref1": 1, "ref2": [12,34], "ref3": "foo" } + |