cerialize icon indicating copy to clipboard operation
cerialize copied to clipboard

Easy serialization through ES7/Typescript annotations

Results 19 cerialize issues
Sort by recently updated
recently updated
newest added

Is there any chance this library to be convert to ECMAScript modules? This will allow for a greater bundle size optimization at build time for apps that uses webpack or...

I am trying to deserialize the following json: ``` { "name": "test, "price": 123 } ``` I am trying to deserialize it into the following classes: ``` export class Item...

I'm facing [problems](https://github.com/microsoft/TypeScript/issues/27519) with TS Decorators that have issues with circular or forward references for types. I'm wondering if we can write a similar API and make decorators optional?

After updating to typescript 3.1.6 or anything higher, autoserializeAs is randomly not working. Scenario: ![image](https://user-images.githubusercontent.com/1898880/60022307-e05c1200-9693-11e9-909c-9ee2678d10ec.png) Enumerated key in debugger (metadataArray): ![image](https://user-images.githubusercontent.com/1898880/60022343-ebaf3d80-9693-11e9-9843-407d7f83cb6a.png) It sounds like some properties are not enumerated anymore,...

I'm developing a social netwrok aplication comprised of a Rails based API and a Angular7 web application. Basically the Angular aplication is a web interface to the API. I'm using...

Hi, I'm using HttpClient from Angular 6 and I would like to use your librairie to transform snakecase to camelcase but it's doesn't works... My Model : ``` export class...

I install via `npm i cerialize@next`. Simple test does not work (runs fine with ceialize v1): ``` it('serializes a class', () => { class Test { @serializeAs(String) id: string; }...

Cerialize version 2.0.1 Here is example code: ```typescript class TestNested { @deserializeAs(Number) id: number; } class TestModel { @deserializeAs(Number) id: number; @deserializeAs(TestNested) n: TestNested; } const data1 = {id: 1,...

This is quite angular specific, but whenever you bind a getter to angular, it looks like that if it isn't binded in `autoserialize` it won't work. Example: ``` @autoserialize public...