Skip to content

Deserialization inside and array fails #75

@threadedblue

Description

@threadedblue

I have two type of strings: 1) java.lang.String and 2) org.hl7.fhir.String. I must use them. They are incompatible. I implemented a custom deserializer: StringDeserializer.java. I registered it and it works.

When the JSON has a free standing string: { ... "family" : "Jones", ... }. the StringDeserializer is called--no problem.
But when the JSON has a string as an element inside and array: { ... "given" : ["Elizabeth", "Betsy"], ... }. the StringDeserializer is not called, an error is thrown complaining about the end of array.

I inquired of Jackson and the response was that it is not a Jackson problem. I am left with this being an emfjson problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions