public void writeObjectStart () { try { writer.object(); } catch (IOException ex) { throw new SerializationException(ex); } }
public void writeObjectStart () { try { writer.object(); } catch (IOException ex) { throw new SerializationException(ex); } }
public JsonWriter object (String name) throws IOException { return name(name).object(); }
public JsonWriter object (String name) throws IOException { return name(name).object(); }
/** Starts writing an object, writing the actualType to a field if needed. * @param knownType May be null if the type is unknown. */ public void writeObjectStart (Class actualType, Class knownType) { try { writer.object(); } catch (IOException ex) { throw new SerializationException(ex); } if (knownType == null || knownType != actualType) writeType(actualType); }
/** Starts writing an object, writing the actualType to a field if needed. * @param knownType May be null if the type is unknown. */ public void writeObjectStart (Class actualType, Class knownType) { try { writer.object(); } catch (IOException ex) { throw new SerializationException(ex); } if (knownType == null || knownType != actualType) writeType(actualType); }
public void writeObjectStart () { try { writer.object(); } catch (IOException ex) { throw new SerializationException(ex); } }
public JsonWriter object (String name) throws IOException { return name(name).object(); }
/** Starts writing an object, writing the actualType to a field if needed. * @param knownType May be null if the type is unknown. */ public void writeObjectStart (Class actualType, Class knownType) { try { writer.object(); } catch (IOException ex) { throw new SerializationException(ex); } if (knownType == null || knownType != actualType) writeType(actualType); }