I'm debugging the JSON for a C# app that POSTs to CloudKit using server keys.
According to the docs, the JSON I need to use to create/modify a record looks like this:
{
"operationType" : "create",
"record" : {
"recordType" : "Artist",
"fields" : {
"firstName" : {"value" : "Mei"},
"lastName" : {"value" : "Chen"}
}
"recordName" : "Mei Chen"
},
}
When I go to JSON2Csharp, I get the error below. I need to determine if the documentation is invalid, or if the server actually wants this JSON as-is.
Question
How can I obtain the JSON used in the apple CloudKit framework when it's sent to the CK server?