From 73f92685671ee8fd5d37cca264e0c57ce9395321 Mon Sep 17 00:00:00 2001 From: Eric Jeker Date: Thu, 5 Mar 2020 16:22:21 +0800 Subject: [PATCH 1/2] Update README.md Corrected some typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 499dfa66e..3786bd603 100644 --- a/README.md +++ b/README.md @@ -650,7 +650,7 @@ expect(plain['childrenCollection.2.label']).toEqual('Bar5'); In Marshal everything is compiled down to a highly optimized JS function. That means when you want to add another serialization target, you have to write compiler templates. But it sounds -scarier than it is. Here's an example on how to convert a date to a ISO format for json transportation. +scarier than it is. Here's an example on how to convert a date to a ISO format for JSON transportation. ```typescript import {registerConverterCompiler} from '@marcj/marshal'; @@ -666,7 +666,7 @@ registerConverterCompiler('MyTarget', 'class', 'date', (setter: string, accessor }); ``` -To use your custom traget, you can use these jit functions: +To use your custom target, you can use these JIT functions: ```typescript import {ClassType, getClassName} from "@marcj/estdlib"; From 914357be6c03eb99ee53de334754f83142e23132 Mon Sep 17 00:00:00 2001 From: Eric Jeker Date: Thu, 5 Mar 2020 16:22:21 +0800 Subject: [PATCH 2/2] Update README.md Corrected some typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84f92481c..72d778227 100644 --- a/README.md +++ b/README.md @@ -650,7 +650,7 @@ expect(plain['childrenCollection.2.label']).toEqual('Bar5'); In Marshal everything is compiled down to a highly optimized JS function. That means when you want to add another serialization target, you have to write compiler templates. But it sounds -scarier than it is. Here's an example on how to convert a date to a ISO format for json transportation. +scarier than it is. Here's an example on how to convert a date to a ISO format for JSON transportation. ```typescript import {registerConverterCompiler} from '@marcj/marshal'; @@ -666,7 +666,7 @@ registerConverterCompiler('MyTarget', 'class', 'date', (setter: string, accessor }); ``` -To use your custom traget, you can use these jit functions: +To use your custom target, you can use these JIT functions: ```typescript import {ClassType, getClassName} from "@marcj/estdlib";