Page History
...
Code Block |
---|
// Let's create some entities. Success = SRP_Json(ObjectHandle, "New", "OBJECTObject") Success = SRP_Json(IntegerHandle, "New", "NUMBERNumber", "1234567890") Success = SRP_Json(DecimalHandle, "New", "NUMBERNumber", "123456789.987654321") Success = SRP_Json(StringHandle, "New", "STRINGString", "Hello, World!") Success = SRP_Json(BooleanHandle, "New", "BOOLEANBoolean", 1) Success = SRP_Json(ArrayHandle, "New", "ARRAYArray") // Don't forget to Release them when we're done SRP_Json(ArrayHandle, "Release") SRP_Json(BooleanHandle, "Release") SRP_Json(StringHandle, "Release") SRP_Json(DecimalHandle, "Release") SRP_Json(IntegerHandle, "Release") SRP_Json(ObjectHandle, "Release") |
...