Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 // Create a JSON array (which initializes ArrayHandle)
If SRP_Json(ArrayHandle, "New", "ARRAYArray") then

   // Create a JSON number
   If SRP_Json(NumberHandle, "New", "NUMBERNumber", "12345") then

       // Now add the number to the array
       SRP_Json(ArrayHandle, "Add", NumberHandle)

       // Remember to release entities you've created
       SRP_Json(NumberHandle, "Release")
   
   end
   
   // Remember to release entities you've created
   SRP_Json(ArrayHandle, "Release")

 end

...