Situation is like this, the small white in a project to do a json parser, used to retrieve user information attributes, the json file to store user information edited by users themselves, as a result, if not in accordance with the json file write standard to write, on server parse error will lead to collapse, will shut off server service (& gt; . & lt;) , is there any way to parse due to format errors and not to close the service?
There are good people some guidance? I think of the method is to use a function that allow the user to modify the content, so that it can ensure the format is correct,