I'm re-writing a project and decided to use .NetCore with AspNetCore.OData (V: 7.4.1). the default Odata serializer makes it hard to both define function and actions on an object (which requires it to be registered as entitySet) and serialize it as a part of a larger-scoped object (which requires it to be registered as complexType). is there a way to override odata's default serilizer with newtonsoft's and that way avoid having to register unnecessary ComplexTypes? I found this question from 4 years ago and figured thing have changed.
Replace OData default Json serializer with newtonSoft's Json Serializer
416 Views Asked by Itay Perri At
0
There are 0 best solutions below
Related Questions in JSON
- getting undefined while iterating json
- How can I serialize a numpy array while preserving matrix dimensions?
- What is best way to check if any of the property of object is null or empty?
- How to query JSON data according to JSON array's size with Spark SQL?
- Extracting data from json_decode with lat and lng geolocation
- Convert JSON.gz to JSON in node js
- How do I get the type to convert to when deserializing from Jackson
- Escape dot in jquery validate plugin
- Are allOf and properties keywords interchangeable?
- Sort continents by amount of countries
- Is there a data format lighter than json?
- Object of class CS_REST_Wrapper_Result could not be converted to string in CAMPAIGN MONITOR
- How to read JSON data from a web server running PHP and MySQL?
- Parse Nsmutabledictionary and extract value
- Handle empty JSON values in Java
Related Questions in JSON.NET
- Deserialising mimekit.MimeMessage Object
- Deserialize JSON Data automatically when using timestamp
- Why can't Json.Net 6 deserialize a T as a generic list in a dynamic object? (worked in version 5)
- Json.Net: Html Helper Method not regenerating
- How to convert json with jarray inside to a object
- JSON result from PipeDrive API does not deserialize
- Self Hosted WCF Rest service ERROR : Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported
- I can't manage to save my serialized .json in wp8.1
- extract a value from returned json
- Serialize Tweetinvi using JsonConvert.SerializeObject
- Unable to use JSONpath type querying
- JsonConverter: Get parent object in ReadJson, without $refs
- Prevent JSON.Net custom converter from converting child objects
- ASP.NET Web API: JSON Serializing Circular References
- json view in c# is adding additional json properties in json schema List
Related Questions in ODATA
- kendo - datasource - parameterMap does not bind parameters
- Creating Odata Web API application without Entity Framework
- ASP.NET Odata Web API Composable function issue
- What the format should look like for a Function Import Response which returning a simple type?
- Web API: Odata route always returning a 404 response
- Odata post always returns "HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed,"
- solution architecture for an OData / Web API based .Net project
- WCF Data Services, WindowsAzure.Storage and Microsoft.Data.OData version nightmare
- How to wisely combine shingles and edgeNgram to provide flexible full text search?
- Connect to SharePoint Lists with OData
- Freeze a linq IQueryable (as a ToList().AsQueryable() would do)
- Can I create a file to subdirectory on OneDrive for Business with REST API?
- Simple.OData.Client - Unable to invoke Action that accepts entity collection parameter
- oData deserialization issue in application
- Accessing JSON object in SAPUI5 via xsodata
Related Questions in JSONSERIALIZER
- Cannot set property 'all' of undefined
- How to pass settings to Nservicebus JsonSerializer in C#?
- How do I get only a shadowed property, not the base property, to get JSON serialized?
- How to convert xml string to an object using c#
- Ember render not showing rails or Ember computed properties
- Asp.Net Mvc Web Api Json Formatter issue
- .Net 45 serialisation from .Net Standard 2.0 dll
- Json formatting with Json.net in C#
- How to serialize JsonSubType with child interface instead of subclass?
- JQuery serialize function with an empty input field that has a title attribute
- Can ServiceStack's JsonSerializer serialize private members?
- System.Json.Net - deserializing a Task<T> fails (no parameterless constructor)
- EF Core 3.1 Fail to query on Json Serialized Object
- Ignore namespace attributes while serializing xml data to json
- System.Text.Json.Deserialize an array into C# class
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?