| 82 | } |
| 83 | |
| 84 | void ConfigCommand::WriteArrayJson(std::ostream& out, const ParamEntry& entry) |
| 85 | { |
| 86 | out << "["; |
| 87 | for (int i = 0; i < entry.GetSize(); i++) |
| 88 | { |
| 89 | if (i > 0) |
| 90 | out << ", "; |
| 91 | WriteArrayValueJson(out, entry[i]); |
| 92 | } |
| 93 | out << "]"; |
| 94 | } |
| 95 | |
| 96 | void ConfigCommand::WriteEntryJson(std::ostream& out, const ParamEntry& entry, int indent) |
| 97 | { |