Interface Data2Json<T>

All Known Implementing Classes:
Apply2Json, Boolean2Json, BooleanArray2Json, Complex2Json, ComplexCollection2Json, Entity2Json, EntityCollection2Json, InlineCount2Json, NavigationProperty2Json, Number2Json, NumberArray2Json, Object2Json, ObjectArray2Json, Primitive2Json, Stream2Json, String2Json, StringArray2Json, Struct2Json, StructCollection2Json

public interface Data2Json<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    default Object
    getValue(T data)
     
    void
    toJson(T data, com.fasterxml.jackson.core.JsonGenerator json)
     
  • Method Details

    • toJson

      void toJson(T data, com.fasterxml.jackson.core.JsonGenerator json) throws IOException
      Throws:
      IOException
    • getValue

      default Object getValue(T data)
    • getName

      default String getName()