You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally filed by martin.pierre38 on 2010-02-10T14:21:10
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Sometimes we need to minimize the memory size of informations. When using
JSON on an object, we should be able to specify only the properties we want
to serialize.
There is a function on the "Object" class called "valueOf()". By default it
returns the object itself. But we can implement it in our object class to
return a custom object.
To do that, just add the line "value = value.valueOf()" at the begining of
the function "ConvertToString" of the "JSONEncoder" class.
Originally filed by martin.pierre38 on 2010-02-10T14:21:10
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Sometimes we need to minimize the memory size of informations. When using
JSON on an object, we should be able to specify only the properties we want
to serialize.
There is a function on the "Object" class called "valueOf()". By default it
returns the object itself. But we can implement it in our object class to
return a custom object.
To do that, just add the line "value = value.valueOf()" at the begining of
the function "ConvertToString" of the "JSONEncoder" class.
Thanks,
Tontonpiero martin.pierre38@gmail.com
The text was updated successfully, but these errors were encountered: