Method encode
Encodes arg as JSON if applicable
arg
Parameters:
Returns a Mixed(Original Object or JSON string)
Do not want to coerce this Object to a String!
Converting to JSON
Nothing to do, leave it as it is
Method encode
Encodes
arg
as JSON if applicableParameters:
(Object to encode)
Returns a Mixed
(Original Object or JSON string)