break;
case LIST:
final ConfigList list = (ConfigList) value;
out.writeInt(list.size());
for (final ConfigValue v : list) {
writeValue(out, v, (SimpleConfigOrigin) list.origin());
}
break;
case OBJECT:
final ConfigObject obj = (ConfigObject) value;
out.writeInt(obj.size());