Hello All,

        Experiencing errors with JSON parsing in neo4j-shell

        Version neo4j-community-1.4.M02 running on 64bit SLES-10 with
Java 1.6.0_01-b06

        I tried all manner of quoting the JSON but no luck.

        Thanks in advance for any insight into this problem.

                WP

neo4j-sh (0)$ help mkrel

Creates a relationship to a new or existing node, f.ex:
mkrel -ct KNOWS (will create a relationship to a new node)
mkrel -t KNOWS 123 (will create a relationship to node with id 123).

  -c     Supplied if there should be created a new node.
  --cd   Go to the created node, like doing 'cd'.
  -d     The direction: OUTGOING, INCOMING, o, i.
  --np   Properties (a json map) to set for the new node (if one is
created).
  --rp   Properties (a json map) to set for the new relationship.
  -t     The relationship type.
  -v     Verbose mode: display created nodes/relationships.

neo4j-sh (0)$ mkrel -c -d i -t DOMAIN_OF --np {"app":"foobar"}
org.neo4j.shell.util.json.JSONException: A JSONObject text must end with
'}' at character 1

=============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to