org.apache.olingo.odata2.client.core.ep.serializer

## Class JsonEntryEntitySerializer

- java.lang.Object
- - org.apache.olingo.odata2.client.core.ep.serializer.JsonEntryEntitySerializer

-     public class JsonEntryEntitySerializer
      extends Object

  Producer for writing an entity in JSON, also usable for function imports returning a single instance of an entity type.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonEntryEntitySerializer(EntitySerializerProperties properties)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `append(Writer writer, org.apache.olingo.odata2.core.ep.aggregator.EntityInfoAggregator entityInfo, Entity data)` This serializes the json payload entry
    `String` | `getLocation()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JsonEntryEntitySerializer

          public JsonEntryEntitySerializer(EntitySerializerProperties properties)

      Parameters:
        `properties` -
      Throws:
        `EntityProviderException`

  - ### Method Detail

    - #### append

          public void append(Writer writer,
                             org.apache.olingo.odata2.core.ep.aggregator.EntityInfoAggregator entityInfo,
                             Entity data)
                      throws EntityProviderException

      This serializes the json payload entry
      Parameters:
        `writer` -
        `entityInfo` -
        `data` -
        `isRootElement` -
      Throws:
        `EntityProviderException`

    - #### getLocation

          public String getLocation()

Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.