About 50 results
Open links in new tab
  1. What is deserialize and serialize in JSON? - Stack Overflow

    Jul 23, 2010 · JSON is a format that encodes objects in a string. Serialization means to convert an object into that string, and deserialization is its inverse operation (convert string -> object). When …

  2. How to write a custom Kotlin serializer with a dependency?

    Jan 11, 2024 · Define your serializer in a class with a zero-argument constructor that receives your dependency (here ThingRepository) statically; or Use contextual serialization, the feature used for …

  3. What is the difference between Serializer and ModelSerializer

    Apr 15, 2020 · What is the difference between django rest framework's Serializer vs ModelSerializer? When do you one or the other? Can I use ModelSerializer for Auth? Thanks a lot for the help.

  4. Django DRF - What's the use of serializers? - Stack Overflow

    Oct 21, 2017 · You can also set those different serializers as serializer_class property of your APIView class per each method. I strongly recommend you to take some time to look at the Django Rest …

  5. Fastest way to serialize and deserialize .NET objects

    Nov 10, 2010 · 6 The binary serializer included with .net should be faster that the XmlSerializer. Or another serializer for protobuf, json, ... But for some of them you need to add Attributes, or some …

  6. Django serializers vs rest_framework serializers - Stack Overflow

    Mar 29, 2020 · What is the difference between Django serializers vs rest_framework serializers? I making a webapp, where I want the API to be part of the primary app created by the project. Not …

  7. Django serializers: What does is_valid actually do?

    Apr 14, 2018 · You need to call is_valid during deserialization process before write data to DB. is_valid perform validation of input data and confirm that this data contain all required fields and all fields …

  8. serialization - Django rest framework, use different serializers in the ...

    This answer is the same as the accepted answer but I prefer to do in this way. Generic views get_serializer_class(self): Returns the class that should be used for the serializer. Defaults to …

  9. Serializer for class '...' is not found. Mark the class as ...

    Apr 24, 2022 · Serializer for class '...' is not found. Mark the class as @Serializable or provide the serializer explicitly Asked 3 years, 8 months ago Modified 4 months ago Viewed 74k times

  10. c# - System.Text.Json custom serializer for CosmosDb serialises all ...

    May 17, 2023 · System.Text.Json custom serializer for CosmosDb serialises all fields... except id Asked 2 years, 8 months ago Modified 2 years, 7 months ago Viewed 3k times