Class CanonicalJson

    • Constructor Detail

      • CanonicalJson

        public CanonicalJson()
    • Method Detail

      • marshal

        public String marshal​(com.nedap.archie.rm.RMObject rmObject)
        Specified by:
        marshal in interface RMDataFormat
      • unmarshal

        public <T extends com.nedap.archie.rm.RMObject> T unmarshal​(String value,
                                                                    Class<T> clazz)
        Specified by:
        unmarshal in interface RMDataFormat
      • unmarshalToMap

        public Map<String,​Object> unmarshalToMap​(String value)
        TODO: pull into interface and therefore into XML and other formats too, since this should work regardless of format?! Helper function to unmarshal to a general map, where RMObjects can't be expected or need to be preprocessed.
        Parameters:
        value -
        Returns: