Activity Forums Salesforce® Discussions How do you deserialize json into the correct virtual class?

  • Surbhi

    Member
    June 7, 2016 at 1:51 pm

    Hi Ravi,

    For deserializing JSON, please have a look on JSON class.

    e.g. ClassName queryResult = (ClassName)JSON.deserialize(jsonString, ClassName.class);

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos