-
**Question**
How we can write nested classes into hive. I have a class for gaining data from api. But how I should tranform it?
**Code sample**
```
import 'package:json_annotation/json_annotati…
-
```hs
>>> jsonref = object ["$ref" .= String "#/components/schemas/Foo"]
>>> fromJSON @Reference jsonref
Success (Reference {getReference = "#/components/schemas/Foo"})
>>> fromJSON @(Referenced S…
-
```json
{
"definitions": {
"Foo": { "type": "number"},
"Bar": { "type": "number"}
}
}
```
```
./script/quickesttype --src-lang schema --lang csharp --add-schema-top-level /definit…
-
When generating TypeScript code with the dateTimeType set to "OffsetMomentJS" it only adjusts the offset for parameters that are in the body of a HTTP action.
`this.plannedStartDate.toISOString(tru…
-
In GitLab by @gimmix on Apr 16, 2023, 14:28
Currently there doesn't seem to be a `AuthenticationRegistrationToken` for m.login.registration_token out of the box.
It is easy enough to implement yours…
-
Whenever I open Redux DevTool chrome extension to inspect the store, I get this error.
VM1161:1 Uncaught TypeError: Do not know how to serialize a BigInt
at JSON.stringify ()
at it.strin…
-
This data type:
```haskell
data Foo
= Bar Foo
| Baz Foo
deriving (Generic, ToJSON, ToSchema)
```
Produces this JSON:
```json
{
"swagger": "2.0",
"info": {
"version": "",
…
-
```
What steps will reproduce the problem?
1. Run the following code snippet:
Map map = new HashMap();
map.put(Double.NaN, "x");
System.out.println(new GsonBuilder()
…
-
```
What steps will reproduce the problem?
1. Run the following code snippet:
Map map = new HashMap();
map.put(Double.NaN, "x");
System.out.println(new GsonBuilder()
…
-
In dart:convert, in the json to string encoder, the dart objects are passed to the toEncodable function or are treated as dynamic and the toJson method is called https://github.com/dart-lang/sdk/blob/…