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). …

  2. 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 …

  3. serialization - Django rest framework, use different serializers in …

    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 …

  4. 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 …

  5. 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, 10 months ago Modified 5 months ago Viewed 75k times

  6. python - How to fix - UserWarning: Pydantic serializer warnings in ...

    Aug 11, 2023 · Using datamodel-codegen command with JSON data as input type and generating Pydantic schema as output, during this process I was seeing warnings. What is the meaning of …

  7. 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, 9 months ago Modified 2 years, 9 months ago Viewed 3k times

  8. java.lang.ClassNotFoundException: org.apache.xml.serializer ...

    Jun 26, 2023 · Xalan-Java Version 2.7.3 works with Xerces-Java, and the distribution includes xercesImpl.jar from Xerces-Java 2.12.2. The Xalan-Java implementation is in xalan.jar and …

  9. How do I use a custom Serializer with Jackson? - Stack Overflow

    Aug 23, 2011 · how / where did you get Jackson to use your custom Serializer for the Item? I'm having an issue where my controller method returns a standard serialized object TypeA, but …

  10. 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 …