diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c84fb2e --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2010 Serge A. Zaitsev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/README b/README new file mode 100644 index 0000000..1c4bd74 --- /dev/null +++ b/README @@ -0,0 +1,25 @@ +JSMN - Minimalistic JSON parser library +======================================= + +jsmn (pronounced right as `jasmine`) is a simple and clean library for parsing +JSON (JavaScript Object Notation) data format. + +You can find more information on JSON at http://www.json.org/ + +Philosophy +========== + +jsmn will never be large and complex. This means it will never have extra +features or any bloated dependencies, besides libc. +It will always be suitable for embedded systems and other resource-limited +systems. It will always have clear API. + +Features +======== + +o Just 200 lines of code +o Full C89 compatibility +o No memory allocation inside the library code +o A single pass is required to parse JSON data +o MIT license (you can include this code into your proprietary software) +