Package com.sap.cds.impl.parser
Class StructDataParser
java.lang.Object
com.sap.cds.impl.parser.StructDataParser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines how JSON data is handled that does not correspond to declared CDS properties. -
Method Summary
Modifier and TypeMethodDescriptionstatic StructDataParser
create
(CdsStructuredType type) parseArray
(String jsonArray) parseArray
(String jsonArray, StructDataParser.Include incl) parseArrayOf
(CdsSimpleType type, com.fasterxml.jackson.databind.node.ArrayNode array) parseArrayOf
(CdsSimpleType type, com.fasterxml.jackson.databind.node.ArrayNode array, StructDataParser.Include incl) static <T> List<T>
parseArrayOf
(CdsSimpleType itemType, String jsonArray) static <T> List<T>
parseArrayOf
(CdsSimpleType itemType, String jsonArray, StructDataParser.Include incl) parseArrayOf
(CdsStructuredType type, com.fasterxml.jackson.databind.node.ArrayNode array) parseArrayOf
(CdsStructuredType type, com.fasterxml.jackson.databind.node.ArrayNode array, StructDataParser.Include incl) parseArrayOf
(CdsStructuredType itemType, String jsonArray) parseArrayOf
(CdsStructuredType itemType, String jsonArray, StructDataParser.Include incl) static List<?>
parseArrayOf
(CdsType itemType, String jsonArray) static List<?>
parseArrayOf
(CdsType itemType, String jsonArray, StructDataParser.Include incl) parseObject
(String jsonObject) parseObject
(String jsonObject, StructDataParser.Include incl) parseObjectOf
(CdsStructuredType type, com.fasterxml.jackson.databind.node.ObjectNode jsonObject) parseObjectOf
(CdsStructuredType type, com.fasterxml.jackson.databind.node.ObjectNode jsonObject, StructDataParser.Include incl)
-
Method Details
-
create
-
parseArrayOf
-
parseArrayOf
public static List<?> parseArrayOf(CdsType itemType, String jsonArray, StructDataParser.Include incl) -
parseArrayOf
-
parseArrayOf
public static <T> List<T> parseArrayOf(CdsSimpleType itemType, String jsonArray, StructDataParser.Include incl) -
parseArrayOf
-
parseArrayOf
public static List<Map<String,Object>> parseArrayOf(CdsStructuredType itemType, String jsonArray, StructDataParser.Include incl) -
parseArray
-
parseArray
-
parseObject
-
parseObject
-
parseObjectOf
public static Map<String,Object> parseObjectOf(CdsStructuredType type, com.fasterxml.jackson.databind.node.ObjectNode jsonObject) -
parseObjectOf
public static Map<String,Object> parseObjectOf(CdsStructuredType type, com.fasterxml.jackson.databind.node.ObjectNode jsonObject, StructDataParser.Include incl) -
parseArrayOf
public static List<Map<String,Object>> parseArrayOf(CdsStructuredType type, com.fasterxml.jackson.databind.node.ArrayNode array) -
parseArrayOf
public static List<Map<String,Object>> parseArrayOf(CdsStructuredType type, com.fasterxml.jackson.databind.node.ArrayNode array, StructDataParser.Include incl) -
parseArrayOf
public static List<Object> parseArrayOf(CdsSimpleType type, com.fasterxml.jackson.databind.node.ArrayNode array) -
parseArrayOf
public static List<Object> parseArrayOf(CdsSimpleType type, com.fasterxml.jackson.databind.node.ArrayNode array, StructDataParser.Include incl)
-