Browse Source

Updated docs

Brad Robinson 11 years ago
parent
commit
d7aa6259e5
1 changed files with 4 additions and 5 deletions
  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