Interface IEbicsJsonConverter
Interface for json-conversion that can be implemented by a concrete EbicsElement (e.g. EbicsContact).
public interface IEbicsJsonConverter- Extension Methods
Methods
FromJson(JsonObject)
(Re-)Initializes a given EbicsElement from its json representation.
void FromJson(JsonObject jsonObject)Parameters
- jsonObjectJsonObject
- The json object holding the json representation of the EbicsElement. 
Exceptions
- ArgumentNullException
- The parameter JsonObject is/was - null.
- ArgumentException
- The json content is not compatible with the given EbicsElement. 
ToJson(JsonObject)
Converts a given EbicsElement to its json representation.
JsonObject ToJson(JsonObject jsonObject)Parameters
- jsonObjectJsonObject
- The caller can specify a jsonObject that will be extended with the EbicsElement's properties. If - nullwas specified, a fresh json object will be created.
Returns
- JsonObject
- The json representation of the given EbicsElement. This is either the jsonObject that was supplied by the caller or the fresh json object that was created instead. Never returns - null.