Create the toJSON operator in Angular
Netanel Basal

One thing I noticed you can improve the code with:

The signature of the function can be written like this instead:

function toJSON<T>(this : Observable<Response>): Observable<T> {
return response : Response ) => response.json());
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.