[OLINGO-1226]Error in MetadataJsonSerializer when there is collection of Records
This commit is contained in:
parent
1342d11438
commit
26cbaad6dc
|
@ -851,7 +851,9 @@ public class MetadataDocumentJsonSerializer {
|
||||||
|
|
||||||
private void appendDynamicExpression(JsonGenerator json,
|
private void appendDynamicExpression(JsonGenerator json,
|
||||||
EdmDynamicExpression dynExp, String termName) throws SerializerException, IOException {
|
EdmDynamicExpression dynExp, String termName) throws SerializerException, IOException {
|
||||||
json.writeFieldName(termName);
|
if (termName != null) {
|
||||||
|
json.writeFieldName(termName);
|
||||||
|
}
|
||||||
switch (dynExp.getExpressionType()) {
|
switch (dynExp.getExpressionType()) {
|
||||||
// Logical
|
// Logical
|
||||||
case And:
|
case And:
|
||||||
|
|
Loading…
Reference in New Issue