Skip to content

[FEATURE REQUEST] JSON Data Type support for Stored Procedure parameters #1682

@matthewerwin

Description

@matthewerwin

Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it

All versions of MSSQL now support JSON data type. There is no TYPE.JSON in Tedious or support to leverage this and pass JSON objects using this native type instead of as varchar/nvarchar.

Describe the preferred solution
Addition of JSON data type for the parameters that correctly serializes a JSON object to SQL Server when calling a stored procedure.

Describe alternatives you've considered
I've considered writing the PR myself but don't have any experience with Tedious code-base. The other alternatives are to continue to use varchar/nvarchar types and manually serialize and re-parse within an SP at the server...none of these are great options.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions