Encoded
Handle encoded strings
Methods
getThingThatIsEncoded
Find a key inside a string that may or may not be encoded.
Example
Find a key in a JSON encoded array:
Find a key in a serialized array:
getEncodeType
Check for the encoded type of a string.
Example
Check to see if string is a JSON array:
Check to see if string is a serialized array:
isJson
Check to see if a string is a JSON array.
Example
Check to see if string is a JSON array:
Check to see if string is a JSON array will return false if not:
unpackJson
Decode a JSON array from string.
Example
Decode a JSON array:
isSerialized
Checks string is a serialized object.
Example
Check to see if string is a serialized object:
Check to see if string is a a serialized object will return false if not:
unpackSerialized
Decodes a JSON array from string
Example
Decode a serialized object:
isBase64
Check to see if a string is a base64 encoded string or not. This is experimental!
unpackBase64
Unpack a base64 encoded string. This is experimental!