Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Add imtegration test for #122
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Mar 2, 2022
1 parent bdc44d7 commit b893964
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See issue #122
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"animals" : [ "ant", "dog", "cat", "fish", "zebra", "horse", "hippo", "giraffe" ]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"animals" : [ [ "ant", "dog" ], "cat", [ "fish", [ "zebra", "horse" ], "hippo" ], "giraffe" ]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
append("animals[].2.type", " is big")
append("animals_2[].*.type", " is cool")
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FLUX_DIR + "input.json"
|open-file
|as-records
|decode-json
|fix(FLUX_DIR + "test.fix")
|encode-json(prettyPrinting="true")
|write(FLUX_DIR + "output-metafix.json")
;

0 comments on commit b893964

Please sign in to comment.