title: org.codehaus.jackson.JsonParseException: Unexpected character ('x' (code 120)): was expecting comma to separate OBJECT entries
body: <p>*I was trying to print the below String which i was taking from file.</p>
  
  <p><code>{"error_msg":null,"channel":0x0,"api_version":"3.4","request_type":"authorize_capture","server_mode":"TEST","auth_result":{"response_code":0x6,"MOP":"VISA","source":"NUL","source_response_code":"   ","terminal_number":"12345","transaction_number":0x38224,"auth_code":"06","avs_response":" ","fraud_response":"0","security_code_response":" "}}</code></p>
  
  <p>I am using the below code to do a pretty print</p>
  
  <p><code>Object json = mapper.readValue(line, Object.class);<br>
  String ss = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(json);</code></p>
  
  <p>I am getting the following error. Please help me to resolve this issue</p>
  
  <p><code>Exception in thread "main" org.codehaus.jackson.JsonParseException: Unexpected character ('x' (code 120)): was expecting comma to separate OBJECT entries</code></p>