REST API return encoded Multiline Textfield but show it correctly
I save a JSON string in my SharePoint list. This looks like:...
View ArticleFilter rows on data saved as JSON arrays
My data is saved as _________________________________ id | category | other data etc -------------------------------- 1 | ["2","3"] |bla bla -------------------------------- 2 | ["254","34"]|bla bla...
View ArticleHow to return Custom JSON Response using Web API
I am pretty new to Web Api, how can I return customized JSON response? I want to achieve something like this: In the case where there was an error from the server side, the return will be:...
View ArticleConsiderations about returning text instead of JSON in a JSON compliant API...
I’m using Spring-Boot + Jackson to implement a Rest API. When I return some object from my methods the controllers are building a JSON compliant response. However, that’s not happening when I return...
View ArticleSuggestions for structuring complex json structures?
I can’t find many tips for how to design complex json structures beyond the obvious tips of not trying to nest too deeply, using defined data types, etc. For example, if I have a location that needs to...
View ArticleHow Can I get multi-Dimensional array by value
In PostgreSQL 9.5 I use jsonb column called user_tag. This column has multi dimensional array like this: [{"id": 1, "tag": "@xang"}, {"id": 2, "tag": "@wang"}] I want to get when id is equal to 1. I...
View ArticleHow can I loop through a json result by substituting field/column names with...
How can I loop through a json result by substituting column names for a variable End result: I’m building a table from a list (~25 columns). I want to attach custom classes to each cell based on the...
View ArticleAdd a JSON feature class to a map using ArcGIS javascript API
I am a beginner in javascript and I am working on a project using the ArcGIS javascript API. Since I am using shapefiles, I need a way to put them on the map automatically after a procedure. I have...
View ArticleSecurity exception when trying to use JavaScriptSerializer
I am trying to use the JavaScriptSerializer class in an event receiver which is part of a sandbox solution. When trying to use the class, I get a System.MethodAccessException with the following...
View ArticleTrigger with multiple inserts based on JSON data
I am using sqlite and have its json1 extension available. I have the following tables (reduced to a minimal example): -- table filled from external source, -- with only a little possible impact on data...
View Article