[OLINGO-1226]Error in MetadataJsonSerializer when there is collection of Records

This commit is contained in:
ramya vasanth 2020-08-27 13:48:37 +05:30
parent 1342d11438
commit 26cbaad6dc
1 changed files with 3 additions and 1 deletions

View File

@ -851,7 +851,9 @@ public class MetadataDocumentJsonSerializer {
private void appendDynamicExpression(JsonGenerator json,
EdmDynamicExpression dynExp, String termName) throws SerializerException, IOException {
if (termName != null) {
json.writeFieldName(termName);
}
switch (dynExp.getExpressionType()) {
// Logical
case And: