> "north" is definitely a piece of text in JSON, however we don’t necessarily think about it as arbitrary text. Indeed, the common case is that direction will contain one of many pre-defined values, and the use of text here just makes it easier to communicate<p>We call that "stringly-typed code", and it's an anti-pattern. <a href="https://wiki.c2.com/?StringlyTyped" rel="nofollow">https://wiki.c2.com/?StringlyTyped</a>