Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

JSON error - Expecting 'EOF', '}', ',', ']', got '{'

Writer Andrew Henderson

I have a big json file but don't know it shows some error...

{ "_index": "ttmnt", "_type": "********ils", "_id": "********DC", "_score": 1, "_source": { "_id": "********DC", "policyNo": "********461", "displayPolicyNo": "********461", "email": "********@GMAIL.COM", "name": "********", "mobileNo": "********", "misOwner": "********sh.w@t********t.com", "registrationNo": "dd578", "folderNo": "dddddYDC" }
}
{ "_index": "ttmnt", "_type": "********c", "_id": "********DC", "_score": 1, "_source": { "_id": "********DC", "policyNo": "********21s", "displayPolicyNo": "s008461", "email": "****", "name": "********HAL", "mobileNo": "********99906", "misOwner": "********sh.w@t********t.com", "registrationNo": "********8", "folderNo": "********YDC" }
}
Expecting 'EOF', '}', ',', ']', got '{'

It validates correctly if I only use 1st raw

{ "_index": "ttmnt", "_type": "********ils", "_id": "********DC", "_score": 1, "_source": { "_id": "********DC", "policyNo": "********461", "displayPolicyNo": "********461", "email": "********@GMAIL.COM", "name": "********", "mobileNo": "********", "misOwner": "********sh.w@t********t.com", "registrationNo": "dd578", "folderNo": "dddddYDC" }
}

I am not able to find the problem here.. both lines have same value same thing but it gives error when I place second raw.

1 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy