Use string as input for JSON parser.