-
Notifications
You must be signed in to change notification settings - Fork 82
No longer wrapping complex types in an auxiliary JSON object #2599
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 all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
10fbde8
No longer wrapping complex types in an auxiliary JSON object. Fixes u…
rodinaarssen 42bf046
Extracted jsonrpc test interface to a separate class
rodinaarssen 28b6173
Made test class abstract to allow for code reuse later on
rodinaarssen e876cee
Moved function around a bit
rodinaarssen e29a164
Prepared abstract test class for instantiation
rodinaarssen 713f19e
Improved configuration methods in GsonUtils
rodinaarssen 805ca60
Added deserialization functionality in GsonUtils given a TypeStore in…
rodinaarssen c3a0b31
Improved comments describing what happens with complex values during …
rodinaarssen 34dd61f
Added jsonrpc test class: complex values as JSON objects
rodinaarssen 5eea68a
Added jsonrpc test class: complex values as Base64-enoded string
rodinaarssen 19c4f0b
Added jsonrpc test class: complex values as string
rodinaarssen f1ad106
Added jsonrpc test class: complex values unsupported
rodinaarssen 3e22617
Using renamed configuration method of GsonUtils
rodinaarssen 791d420
Make sure that the jsonrpc tests are run during CI
rodinaarssen ba6d56a
Renamed test files to conform to file name heuristics
rodinaarssen e27f8c9
Changed pom.xml to pick up the renamed test files in CI
rodinaarssen b136188
Added configuration option to JsonValueWriter to encode rationals as …
rodinaarssen 287b7ba
Fixed error message
rodinaarssen de43057
GsonUtils now configures JsonValueWriter to encode rationals as strings
rodinaarssen 92ea92f
Rationals are no longer wrapped in an object in any configuration
rodinaarssen 4830660
Fixed deserialization in case of string-encoding
rodinaarssen d679dff
Reenabled all jsonrpc tests
rodinaarssen 47e0ec7
Wrapped input/output streams in ThreadLocal in jsonrpc tests
rodinaarssen cd57210
Merge branch 'main' into fix-jsonrpc-wrapping
rodinaarssen 50e967a
Updated comments in GsonUtil
rodinaarssen b720017
Reusing stored ValueFactory
rodinaarssen eb42d11
Removed non-existent parameters from JavaDoc
rodinaarssen 1f056dc
Added timeouts to jsonrpc tests
rodinaarssen bdad357
Collapsed all jsonrpc tests into one parameterized test class
rodinaarssen ad336f1
Renamed jsonrpc test class
rodinaarssen f839a69
Made protected fields private; test class is no longer extended
rodinaarssen 3365227
Incorporated jsonrpc test interface into the test class itself
rodinaarssen 8258d4c
Fixed jsonrpc test leaking input/output streams
rodinaarssen bdd87e5
Added dateTimeAsInt and rationalsAsString to jsonResponse in Content.rsc
rodinaarssen b861ec5
Changed default value for dateTimeAsInt to conform to the Rascal defi…
rodinaarssen d2816a5
Revert "Changed default value for dateTimeAsInt to conform to the Ras…
rodinaarssen 169bb1d
Changed type to var
rodinaarssen f0ff59c
Flipped default value of new keyword argument
rodinaarssen 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
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
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.