Provide support for direct mapping to JSON string.
See original GitHub issueIn some languages (like PHP for example) there is possibility to directly map query result into JSON string which makes a lot of sense when we don’t need to manipulate the result returned from query execution which would result in better performance due to eliminating extra step of mapping to application models (and then mapping to JSON string later on).Is there any plan to add such a feature to SqlClient?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
java - Is there a direct way to convert Map<String, List ...
I just tried the following. Map<String, List<String>> map = new HashMap<>(); List<String> list = new ArrayList<>(); list.add("First in ...
Read more >Mapping a Dynamic JSON Object with Jackson
In this quick tutorial, we'll learn multiple ways of mapping dynamic JSON objects into Java classes.
Read more >JSON methods, toJSON
JSON supports plain objects, arrays, strings, numbers, booleans, and null . JavaScript provides methods JSON.stringify to serialize into JSON ...
Read more >JSON Mapping
The JSON Mapping application will allow an integrator to select an integration object structure and supply a sample JSON snippet from which a...
Read more >i am passing the below request as input and there is direct ...
Problem :- i am passing the below request as input and there is direct mapping of filed . where as input is xml...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This is a job normally done by several kinds of mappers and wrappers like EFCore or Drapper. While the same sort of functionality could be added into SqlClient there’s nothing it can do that those projects (and others) don’t already do. Why would it be a good idea to add the functionality at this level?
@Wraith2, I completely agree with you. I am sorry that I have not addressed question to correct person.