| 39 | } |
| 40 | |
| 41 | UInt64 JSONWriter::beginObject(const char* type) { |
| 42 | start(true); |
| 43 | |
| 44 | packet.write8('{'); |
| 45 | if(!type) |
| 46 | return 0; |
| 47 | writePropertyName("__type"); |
| 48 | writeString(type,strlen(type)); |
| 49 | return 0; |
| 50 | } |
| 51 | |
| 52 | void JSONWriter::endObject() { |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected