private void WriteMap(JsonWriter writer, Shape map)
{
writer.WriteObjectStart();
var mapShape = map.ValueShape;
if (!mapShape.IsStructure || !this._tcr.Contains(mapShape.Name))
{
for (int i = 0; i < map.Name.Length % 5 + 2; i++)
{
writer.WritePropertyName("key" + i);
Write(writer, map.ValueShape);
}
}
writer.WriteObjectEnd();
}
}