Class JsonManager
The XmlManager provides some xml-methods
-
utiliy\JsonManager
implements
utiliy\SerialManager
Methods summary
public static
json-string
|
#
arrayToSpsJson( array[num][assoc] $result )
Method convert an array to a response json for the sps service
Method convert an array to a response json for the sps service
Parameters
- $result
array[num][assoc] $result
Returns
json-string
Example
{ 127003463, Kommunikations-
und Medienzentrum", typ
Papitzer Stra\u00dfe 4\/5", typ
|
public static
json-string
|
#
arrayToPisJson( array[num][assoc] $result )
Method convert an array to a response json for the pis service like
Method convert an array to a response json for the pis service like
Parameters
- $result
array[num][assoc] $result
Returns
json-string
Example
[{ id,
Kommunikations- und Medienzentrum"}, 1
|
public static
Json-string
|
#
arrayToPssJson( array[num][assoc] $result )
Method convert an array to a response json for the pss service
Method convert an array to a response json for the pss service
Parameters
- $result
array[num][assoc] $result
Returns
Json-string
Example
|
public
string
|
#
arrayToSps( array $result )
Implement the arrayToSps from @see SerialManager
Implement the arrayToSps from @see SerialManager
Parameters
- $result
array [num] [assoc] $result
Returns
string
Implementation of
|
public
string
|
#
arrayToPss( array $result )
Implement the arrayToPss from @see SerialManager
Implement the arrayToPss from @see SerialManager
Parameters
- $result
array [num] [assoc] $result
Returns
string
Implementation of
|
public
string
|
#
arrayToPis( array $result )
Implement the arrayToPis from @see SerialManager
Implement the arrayToPis from @see SerialManager
Parameters
- $result
array [num] [assoc] $result
Returns
string
Implementation of
|