org.springframework.boot.json

Class GsonJsonParser

    • Constructor Detail

      • GsonJsonParser

        public GsonJsonParser()
    • Method Detail

      • parseMap

        public Map<String,Object> parseMap(String json)
        Description copied from interface: JsonParser
        Parse the specified JSON string into a Map.
        Specified by:
        parseMap in interface JsonParser
        Parameters:
        json - the JSON to parse
        Returns:
        the parsed JSON as a map
      • parseList

        public List<Object> parseList(String json)
        Description copied from interface: JsonParser
        Parse the specified JSON string into a List.
        Specified by:
        parseList in interface JsonParser
        Parameters:
        json - the JSON to parse
        Returns:
        the parsed JSON as a list

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.