I am writing data to a JSON file to get it in proper JSON format for later use of a Web API using HTTPCaller.
The "records" in the JSON file seems to be separated like this:
"description" : ""
}
}, (is this CORRECT separation of JSON features?)
{
"json_featuretype" : "NewFeatureType",
When reading the file later using FeatureReader, I get the expected number of "records". However, the resulting JSON textdata contains all the JSON data for all the records, every time a new record is read. This means, I get a lot of equal database records created in stead of individual records. Any ideas on how to get the right part of JSON data from each "reading"?