diff options
author | Vegard Sjonfjell <vegardsjo@gmail.com> | 2016-09-20 13:51:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-20 13:51:09 +0200 |
commit | 6ac713957fc674e84ec0a46c3ca050be99be6cd3 (patch) | |
tree | 13680440309922e546354ac1700ac8a951a1f1ff /document/pom.xml | |
parent | 9f84685366702ae60a85e4a7f3f02356fef6ef54 (diff) |
Voffeloff/documentupdate json serializer (#675)
* Add JsonTestHelper
inputJson is a convenience method for inputing JSON in Java
assertJsonEquals tests if two JSON encoded strings are structurally
equal
* Hide overridden low-level interface so that users don't have to implement two interfaces
* Refactor methods common to JsonWriter and DocumentUpdateJsonSerializer into JsonHelper
* Remove wildcard imports
* DocumentUpdate JSON serializer
* Move static tensor serializing methods close to where their used and change access modifier to private
* Class renaming
JsonHelper -> JsonSerializationHelper
JsonSerializingException -> JsonSerializationException
* Style changes
* Remove default-failing implementations of Serializer in FieldWriter
Refactor common Serializer methods (and more) into
JsonSerializationHelper
* Identation/spacing changes
* Add final to some local variables
* JavaDoc
* Implement ClearValueUpdate
* Code review changes
Diffstat (limited to 'document/pom.xml')
-rw-r--r-- | document/pom.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/document/pom.xml b/document/pom.xml index 9b096f3c89a..529107407ca 100644 --- a/document/pom.xml +++ b/document/pom.xml @@ -48,6 +48,11 @@ <scope>test</scope> </dependency> <dependency> + <groupId>uk.co.datumedge</groupId> + <artifactId>hamcrest-json</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>config</artifactId> <version>${project.version}</version> |