Class Complex2JsonBuilder
java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.Struct2JsonBuilder
com.sap.cds.adapter.odata.v4.serializer.json.Complex2JsonBuilder
-
Field Summary
FieldsFields inherited from class com.sap.cds.adapter.odata.v4.serializer.json.Struct2JsonBuilder
constants, contentType, eTagProperty, expandAll, hasExpand, metadata, options, resourceName, selected, structType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Complex2JsonBuilder
(Struct2JsonOptions options, EdmStructuredType structType) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNavigationLink
(String navigationPropertyName) static Complex2Json
createNested
(Struct2JsonOptions options, EdmStructuredType structType, ContentType contentType) static Complex2Json
createRoot
(Struct2JsonOptions options, EdmStructuredType structType, ContentType contentType) Methods inherited from class com.sap.cds.adapter.odata.v4.serializer.json.Struct2JsonBuilder
addContextAnnotation, addDynamicExpandProperties, addTypeAnnotation, createProperties, createSelectList, structType
-
Field Details
-
complex2json
-
-
Constructor Details
-
Complex2JsonBuilder
-
-
Method Details
-
createRoot
public static Complex2Json createRoot(Struct2JsonOptions options, EdmStructuredType structType, ContentType contentType) -
createNested
public static Complex2Json createNested(Struct2JsonOptions options, EdmStructuredType structType, ContentType contentType)
-