__construct()
fromJson()
fromJsonString()
getContentType()
mapFromStorage()
mapToStorage()
toJson()
toJsonString()
jsonKeyToClassname()
keyToProperty()
keyToPropertyCallback()
mapObjectToElementName()
propertyToKey()
propertyToKeyCallback()
sortKeyLength()
strEndsWith()
$objectMapper
Translates JSON into objects and objects into JSON
__construct()
fromJson(array $jsonArray)
access | public |
---|
fromJsonString(string $jsonstring)
access | public |
---|
string
getContentType() : string
string
mapToStorage(\Moneybird\Mapper_Mapable $subject) : string
toJson(\Moneybird\Mapper_Mapable $subject) : \Moneybird\SimpleXMLElement
access | public |
---|
toJsonString(\Moneybird\Mapper_Mapable $subject) : string
jsonKeyToClassname(string $jsonKey) : string
access | protected |
---|
string
string
keyToProperty(string $key) : string
access | protected |
---|
string
string
keyToPropertyCallback(Array $match) : string
access | protected |
---|
Array
string
mapObjectToElementName(\Moneybird\Mapper_Mapable $subject) : string
propertyToKey(string $key) : string
access | protected |
---|
string
string
propertyToKeyCallback(Array $match) : string
access | protected |
---|
Array
string
sortKeyLength(string $a, string $b) : int
string
string
int
strEndsWith(string $str, string $end) : bool
access | protected |
---|
string
string
bool
$objectMapper : Array