title: Convert DynamoDB special JSON text to normal JSON
body: <p>I have a file containing data exported from DynamoDB, it has DynamoDB's "special JSON" format:</p>
  
  <p><code>{"key1": {"m":{"key2":{"s":"val2"},"key3":{"s":"val3"}}}}</code></p>
  
  <p>I need to parse this file and convert the data to DynamoDB item (com.amazonaws.services.dynamodbv2.document.Item) or normal JSON (I know how to convert normal JSON to Item)</p>
  
  <p>I found there are ways to convert Map to Item like the following posts:
  1. <a href="https://stackoverflow.com/questions/43812278/converting-dynamodb-json-to-standard-json-with-java">Converting DynamoDB JSON to Standard JSON with Java</a>
  2. <a href="https://stackoverflow.com/questions/37655755/how-to-get-the-pure-json-string-from-dynamodb-stream-new-image">How to get the pure Json string from DynamoDB stream new image?</a></p>
  
  <p>To use the solutions mentioned in these posts, I need to write code to convert the special JSON to Map.</p>
  
  <p>Is there a native way to convert DynamoDB "special JSON" <strong>text</strong> to normal JSON or directly to DynamoDB item?</p>