jeremydaly / data-api-client

A "DocumentClient" for the Amazon Aurora Serverless Data API
MIT License
440 stars 60 forks source link

Parse JSON string when column type is JSON #105

Closed JensenTStava closed 2 years ago

JensenTStava commented 2 years ago

in Mysql 5.7 you can have JSON column types. The library currently returns those as strings and you have to loop through those values to convert them to JSON. This change adds JSON parsing when the column type is JSON.