update readme

This commit is contained in:
Rowan 2025-05-25 12:44:06 -05:00
parent c6b7336940
commit 273ce78496

View file

@ -3,8 +3,10 @@ a (de)serializer for [serde-ts](https://git.kitsu.cafe/rowan/serde-ts)
# Usage
```ts
import { Null } from 'serde'
import { fromString, toString } from 'serde-json-ts'
import { Null, registerSerialize, registerDeserialize } from 'serde'
import { ISerializer } from 'serde/ser'
import { forward, IDeserializer, IIterableAccess, IMapAccess } from 'serde/de'
import { fromString, toString } from './src/index'
toString(true) // "true"
toString(null) // "null"