Class JSONConverter<V extends edu.uiuc.ncsa.security.util.json.JSONEntry>

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.XMLConverter<V>

    public class JSONConverter<V extends edu.uiuc.ncsa.security.util.json.JSONEntry>
    extends edu.uiuc.ncsa.security.storage.data.MapConverter<V>

    Created by Jeff Gaynor
    on 2/20/19 at 9:29 AM

    • Constructor Detail

      • JSONConverter

        public JSONConverter​(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys,
                             edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
    • Method Detail

      • toMap

        public void toMap​(V jsonEntry,
                          edu.uiuc.ncsa.security.storage.data.ConversionMap<String,​Object> map)
        Overrides:
        toMap in class edu.uiuc.ncsa.security.storage.data.MapConverter<V extends edu.uiuc.ncsa.security.util.json.JSONEntry>
      • fromMap

        public V fromMap​(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,​Object> map,
                         V v)
        Overrides:
        fromMap in class edu.uiuc.ncsa.security.storage.data.MapConverter<V extends edu.uiuc.ncsa.security.util.json.JSONEntry>