Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
151 views

I updated the configuration of my connector through Kafka Connect 2.0.0 and got an error. io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Schema being registered is ...
user30556552's user avatar
2 votes
0 answers
64 views

I have a class with a public property: public string Service {set; get;} I know of the JsonProperty attribute which allows me to map the name of the field in both directions of deserialization and ...
CodeMonkey's user avatar
  • 12.6k
2 votes
3 answers
162 views

I want to create a JsonSerializable class, that I can inherit from. See this code: using System; using System.Text.Json; using System.Text.Json.Serialization; public interface IJson { string ...
Bart Friederichs's user avatar
0 votes
0 answers
69 views

I'm trying to find a way to use Android Compose SafeArgs Navigation. My class involes a date. I'm currently @Parcelize @Serializable data class ModelExerciseEvent( val id: Int? = null, val ...
Cate Daniel's user avatar
1 vote
1 answer
183 views

I have to serialize a data structure for a 3rd-party interface either to XML or to JSON. The expected result should look like the following (simplified) example: XML: <?xml version=\"1.0\"...
Michael Hartmann's user avatar
0 votes
0 answers
79 views

I'm using Oat++ with custom enums for serializing/deserializing in DTOs and integrating them with a MySQL connector. I'm facing issues when mapping enums to/from JSON and database fields. I've tried ...
Aditya Hagawane's user avatar
0 votes
0 answers
35 views

I'm using the Trix editor in a Vue.js application and running into an issue with image attachments and captions not being properly serialized when saving a comment. When I insert an image attachment ...
Syed Abdullah's user avatar
1 vote
1 answer
56 views

Issue We have a custom serializer for an enum (MeasurementValueType), which stores the enum as a string in MongoDB and deserializes it from a string back into the enum when querying. The enum ...
SJFJ's user avatar
  • 687
-2 votes
1 answer
78 views

I have a go codebase full of structures that look like type MyStruct struct { SomeField int SomeField2 string // ... SomeMap map[string]SomeOtherStruct } and I need to serialize this to ...
Yoric's user avatar
  • 4,139
0 votes
0 answers
36 views

I would like to explicitly tell to flask-session how to encode / decode some instances from classes that are specific to my application. (This is legacy code, I can not change the classes). For ...
julienla's user avatar
1 vote
1 answer
77 views

This demo code showcases how the XSerializer 0.1.28 works but it's deprecated and new libraries do not allow Serializing an Array as a Sequence of Elements for multiple lists with the same serialized ...
Adam Mendoza's user avatar
  • 5,965
0 votes
0 answers
37 views

This is characteristic only if a custom serializer is present. After the ChronicleMap is created, the process writes the data and closes the Map (using the close() method). However, after restarting, ...
OlegSOM's user avatar
0 votes
1 answer
62 views

Flutter App, API backend exchanging array of nested objects in JSON format. Setting up JSON serialization / deserialization with the following articles, using json_serializable: https://docs.flutter....
user3262353's user avatar
0 votes
0 answers
42 views

My problem is that I need to archive/unarchive a custom class from AppAuth library and I will need to compare the results of such process at a point to determine if there was change in the object or ...
Guilherme Carvalho's user avatar
0 votes
1 answer
63 views

Tried to use Spring Boot to load the different DataType PLAIN_TEXT_INPUT("plain_text_input"), RADIO_BUTTONS("radio_buttons"), CHECKBOXES("checkboxes"), ...
pintekus's user avatar
0 votes
0 answers
72 views

I have pydantic model as below. from typing import Annotated from bson import ObjectId from pydantic import Field from pydantic import EmailStr from pydantic import BaseModel from pydantic import ...
NPatel's user avatar
  • 21.4k
1 vote
2 answers
92 views

Hello I have a Model with a field that is not null on the database -the field "amount". However on the api-level this field can be skipped, which should then be stored as the default value. ...
paul23's user avatar
  • 9,637
1 vote
1 answer
31 views

I'm trying to update an int4 field on supabase, but nothing happens when the code runs. The updates in the when block for OnCallDates, GymCallDates and LeaveDates work perfectly, even in the else ...
Oladayo Babalola's user avatar
0 votes
0 answers
65 views

We are moving to .NET Core and it seems that the following produces an XML, not JSON: // ds is DataSet var data = JsonConvert.SerializeObject(ds, Formatting.None); If I use this, I get a cycles ...
sarsnake's user avatar
  • 28k
0 votes
1 answer
179 views

There is a previous question with no answer Serialize a program written in a free monad? Is there a canonical way to serialize Free-monad based DSLs? Or is the answer that create a second data type ...
Cigarette Smoking Man's user avatar
0 votes
0 answers
169 views

I have a base class which I'm using JsonDerivedType to do serialization / deserialization of derived types. Works nicely. However, rather than having to add the JsonDerivedType attribute explicitly ...
Webreaper's user avatar
  • 648
0 votes
1 answer
39 views

I have a Django serialized API field that contains database JSONfield data that creates a chart (this data is confirmed to work on my Flask backend), but I can't use the same data taken from a Django ...
Edward's user avatar
  • 359
0 votes
1 answer
54 views

I'm trying to serialise and deserialise a servicebus event class, my event inherits from an abstract base with a generic parameter for the payload, and my base class implements an interface. No matter ...
Malekai's user avatar
  • 45
0 votes
1 answer
457 views

I keep getting could not resolve the artifact. I have gone through all the confluent documentation and checked a lot of answers on stack overflow and none of the approaches suggested was able to help ...
Aashish Balivada's user avatar
1 vote
1 answer
65 views

I have a data class: data class Example( @SerializedName("id") val id: String, @SerializedName("url") val url: String, @SerializedName("more") val ...
Garfieldmao's user avatar