I'm not planning to open the source, not while I'm still developing the generator, sorry.
In my code rooms and corridors are represented by the same class Room, that's why there is no explicit flag in JSON:
public inline function isCorridor():Bool
return ((w == 3 && h > 3) || (h == 3 && w > 3)); public inline function isJunction():Bool
return (w == 3 && h == 3);