소스 검색

Updated docs

Brad Robinson 11 년 전
부모
커밋
d7aa6259e5
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      readme.md

+ 4 - 5
readme.md

@@ -24,13 +24,12 @@ Here goes, a 5 minute whirl-wind tour of using PetaJson...
 ## Setup (portable)
 
 1. Add PetaJson.cs to your project
-2. Optionally add "using PetaJson;" clauses as required
-3. That's it
+2. That's it
 
-## Setup (performance)
+Well almost, you'll probably want some `using PetaJson;` clauses and depending on your target platform you might need to define the following symbols in your project to  disable some functionality:
 
-1. As above + also add PetaJsonEmit.cs to your project
-2. Call PetaJson.JsonEmit.Init() from your startup code
+* `PETAJSON_NO_DYNAMIC` - disable support for System.Dynamic.ExpandoObject
+* `PETAJSON_NO_EMIT` - disable use of System.Reflection.Emit (slower, more portable)
 
 ## Generating JSON