Javadoc
experimental: create the real object from the given JSON
take care: content length not checked if valid (risk for index out of bounds)
planned to be used with a socket/RPC based interface to any framework (e.g. C#)
Region ["R", x, y, w, h]
Location ["L", x, y]
Match ["M", x, y, w, h, score, offx, offy]
Screen ["S", x, y, w, h, id]
Pattern ["P", "imagename", score, offx, offy]
These real objects have a toJSON(), that returns these JSONs