Skip to content

TJSONDataWriter.EndProperty

End writing a property in a JSON object

Declaration

Source position: jsonwriter.pp line 83

public 
procedure TJSONDataWriter.EndProperty;  override;

Description

EndProperty validates that the current context is appropriate for ending a property. This method must be called after StartProperty and a value has been written.

Errors

EJSONWriter is raised if the current value is not a structured value.

See also

Name Description
StartProperty Start writing a property in a JSON object
EJSONWriter Exception class for JSON writing errors