neo4j/spatial — Issue #33: Allow each query of LayerNodeIndex to be formulated as JSON or Java-Objects
Author: jexp
Created: 2012-02-09 13:19:23+00:00
State: open

So check the type of the params and then either use them directly, or if they are a string parse JSON (or WKT?) and use the parsed result.

Example in withWithingDistance, uses params as Map directly to get "point" and "distance", it should check if it is a String and if so, parse it as JSON Map.