forked from ostafen/clover
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- adding `books.json` to help on the slice testing; - adding `lookupSliceField` that recursively dive inside a slice; - adding test cases for the indexing structure.
- Loading branch information
1 parent
f9c3713
commit 819c0c8
Showing
3 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[ | ||
{ | ||
"title": "A Study in Scarlet", | ||
"publisher": "Ward Lock & Co", | ||
"genre": ["Detective Fiction", "Crime"], | ||
"authors": [ | ||
{ | ||
"name": "Sir Arthur Conan Doyle", | ||
"bio": { | ||
"born": "Scotland", | ||
"year": 1859, | ||
"best_sellers": [ | ||
[ | ||
"The Hound of the Baskerville", | ||
"The Adventure of the Speckled Band", | ||
"The final problem" | ||
] | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "The Hound of The Baskervilles", | ||
"publisher": "George Newnes Ltd", | ||
"genre": ["Detective Fiction", "Crime"], | ||
"authors": [ | ||
{ | ||
"name": "Sir Arthur Conan Doyle", | ||
"bio": { | ||
"born": "Scotland", | ||
"year": 1859, | ||
"best_sellers": [] | ||
} | ||
} | ||
] | ||
} | ||
] |