-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add ability to inject and read additional properties for IJsonModels #51392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
95ff624
Add ability to inject and read additional properties for IJsonModels
m-nash 58c4e54
Makes the ValueKind a flag
m-nash 9bb933b
more progress / pr fb
m-nash 0bc5e9c
extract ByteArrayEqualityComparer to its own file
m-nash 18a39ff
more coverage for arrays and anon models
m-nash c15a081
add more coverage for arrays for unknown scenarios
m-nash 2fa1817
refactor classes
m-nash 93a6194
add the rest of jsonpointer and some test cases for it
m-nash 33b1b23
switch to JsonPath and add more array cases
m-nash 97076cd
Make advancing utf8jsonreader based on path generic for set, add, get…
m-nash ee1bd24
refactor for jsonpath and add first dictionary tests
m-nash 5670a5c
various perf improvements
m-nash 5d998d3
refactor and fix a test
m-nash be312c5
Add more test cases to hand dictionary and root array cases
m-nash af14401
Finish more of the common scenarios
m-nash a4411d5
update api
m-nash b2893b8
fix aot warnings
m-nash 979f6ba
refactor / simplify jsonpathreader and add some unit tests
m-nash e7ae881
Add comparer that uses jsonreader tokens to normalize how to write th…
m-nash 5df8dee
remove temp code
m-nash fc7bb71
target net9.0 to use some new features for perf
m-nash 95ecad8
Propagate on set / get to improve performance
m-nash 87657ae
update api
m-nash e1c0998
refactor alternate key usage
m-nash fa90f6f
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-net int…
m-nash f3eb1b4
update api after merge
m-nash 443ec57
Finish array insert tests and start on AP solo usage
m-nash c866f63
merge main
m-nash 800ba0f
Make AP experimental
m-nash 0fba353
update api
m-nash 1703e92
Add more coverage for jsonpathreader handling of special characters i…
m-nash a333eeb
normalize jsonPaths
m-nash 6ca8a26
optimize dictionary member lookup
m-nash e9f7cc2
rename to JsonPatch
m-nash 858f485
Hide all members on EncodedValue
m-nash 569e065
update property names
m-nash 0fe0991
remove normalization loophole in byte[] path
m-nash acd11e6
normalize with dot in property name
m-nash 6914095
Add Append and drop custom jsonPath for array insert
m-nash abdadab
update on json projection
m-nash fea1bdd
fix net8 tests
m-nash 121a500
Add more coverage for single dim arrays
m-nash e36faa4
more append coverage
m-nash 321de81
add more unit tests around jsonpathreaderextensions
m-nash b800057
Add test for out of order inserts
m-nash 0eef89a
minor cleanup
m-nash 7c91347
update api and experimental attribute
m-nash d56d513
add Get/Set/TryGet overloads
m-nash aac8e70
merge main
m-nash d0783c3
Add SCME to cspell
m-nash a40632b
expand tests for set and add append overloads / tests
m-nash d688a7b
clean up some extension methods
m-nash 215739e
Add tests for remaining public / internal JsonPathReaderExtensions
m-nash c622e51
add serialize extension and rename Write methods
m-nash 41c10e9
update tests to use serialize method
m-nash 043189a
Add ability to write as application/json-patch+json
m-nash 0e74e91
add tests with model usage for JsonPatch.ToString
m-nash c245af6
Drop serialize extension
m-nash 4d7dcc4
rename ContainsChildOf to be an overload of Contains
m-nash 9e39678
Drop write array to and use the writeto overload that takes a subpath
m-nash d3dd835
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-net int…
m-nash acc5aeb
regen api
m-nash bea0aec
minor clean up
m-nash 8cbd4a6
refactor for readability
m-nash 73f976d
refactor normalization in get array path
m-nash c1bc38a
remove magic numbers for utf8 format buffers
m-nash 9cc9efa
update api
m-nash f95776d
pr feedback
m-nash bfef91b
pr feedback
m-nash d7c606b
Rename TryGetRawValue
m-nash f021032
Drop is flattened propagator
m-nash 6afd4bf
pr feedback
m-nash 75b9601
move helper to helper class
m-nash 85ec5ba
refactor encoding and decoding
m-nash 6653cfc
update to fix netstandard2.0 test cases
m-nash 90ac585
update api
m-nash e507abe
remove extension methods
m-nash c751ec7
escape special characters in jsonpointer conversion
m-nash 2fd41c7
cleanup unused
m-nash 4421fb5
refactor append impl
m-nash 4644ecd
fill in more tests for Remove
m-nash 154dd07
remove unused append parsing
m-nash 5b53716
add more coverage for edge cases
m-nash 200d6cb
Add additional tests for Removing Json
m-nash 290f255
Add more use cases for testing
m-nash 19da4f2
Fill in rest of coverage for JsonPatch
m-nash 89a1a16
Fill in JsonPathComparer coverage
m-nash ac47b61
fix a framework assert and add some additiona JsonPathExtensions cove…
m-nash abf3713
merge main
m-nash d4b9bf7
more coverage for Advance
m-nash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.