write to JCR from JSON data
I'm receiving JSON data from a service call programatically.
Now, I want to save/upload the JSON data to the JCR as a .txt file programatically. What is the best approach to achieve this ?
Appreciate your help. Thanks!
I'm receiving JSON data from a service call programatically.
Now, I want to save/upload the JSON data to the JCR as a .txt file programatically. What is the best approach to achieve this ?
Appreciate your help. Thanks!
+1 with Scott solution.
Adding few extra reference articles here:
// Create JCR nodes from json string
Link:- http://asserttrue.blogspot.in/2012/05/importing-json-data-into-java-content.html#
//Importing JSON data into a Java Content Repository
I hope this would help you.
~kautuk
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.