WriteChoice static method
dynamic
WriteChoice(
- SimpleJsonWriter writer,
- Choice choice
)
Implementation
static WriteChoice(SimpleJsonWriter writer, Choice choice) {
writer.WriteObjectStart();
writer.WriteProperty("text", choice.text);
writer.WriteIntProperty("index", choice.index);
writer.WriteProperty("originalChoicePath", choice.sourcePath);
writer.WriteIntProperty("originalThreadIndex", choice.originalThreadIndex);
writer.WriteProperty("targetPath", choice.pathStringOnChoice);
writer.WriteObjectEnd();
}