Interface Parsable

All Known Implementing Classes:
MultipartBody, UntypedArray, UntypedBoolean, UntypedDecimal, UntypedDouble, UntypedFloat, UntypedInteger, UntypedLong, UntypedNode, UntypedNull, UntypedObject, UntypedString

public interface Parsable
Defines a serializable model object.
  • Method Details

    • getFieldDeserializers

      @Nonnull Map<String,Consumer<ParseNode>> getFieldDeserializers()
      Gets the deserialization information for this object.
      Returns:
      The deserialization information for this object where each entry is a property key with its deserialization callback.
    • serialize

      void serialize(@Nonnull SerializationWriter writer)
      Writes the objects properties to the current writer.
      Parameters:
      writer - The writer to write to.