Поделиться через


IJsonBackedObject Interface

public interface IJsonBackedObject

An object that was parsed from JSON

Method Summary

Modifier and Type Method and Description
abstract AdditionalDataManager additionalDataManager()

Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call

abstract void setRawObject(ISerializer serializer, JsonObject json)

Sets the raw JSON object this object was parsed from

Method Details

additionalDataManager

public abstract AdditionalDataManager additionalDataManager()

Provides access to objects not anticipated in the model, as well as request and response data from the HTTP call

Returns:

the AddtionalDataManager

setRawObject

public abstract void setRawObject(ISerializer serializer, JsonObject json)

Sets the raw JSON object this object was parsed from

Parameters:

serializer - the serializer for sub class deserialization
json - the JSON that this object was derived from

Applies to