You need to sign in to do that
Don't have an account?
Deepikareddy
how go get the value of the name as null in the jsonformat :
i.e
{ "Name" : null }
can anybody suggest how to get the value .
Json Generator , create generator in salesforce
system.jsonGenerator jpp = json.CreateGenerator(true); jpp.writeStartobject(); jpp.writestringfield('Name',null); jpp.writeEndobject(); jsonstring1 = jpp.getAsString();
how go get the value of the name as null in the jsonformat :
i.e
{ "Name" : null }
can anybody suggest how to get the value .
Try this one to get the name as null.
If this solves your problem. Mark this as best answer and solved.
Thanks.
Deepak