Skip to content

Commit

Permalink
Add JSON parser library.
Browse files Browse the repository at this point in the history
Code is v1.0.0 unmodified from [1] distributed under BSD 2-Clause license.
Code changes are hosted at [2].

[1] https://github.com/udp/json-parser
[2] https://github.com/cooperative-computing-lab/json-parser
  • Loading branch information
Patrick Donnelly committed Jan 20, 2014
1 parent a7829c2 commit 3dd045a
Show file tree
Hide file tree
Showing 4 changed files with 1,174 additions and 0 deletions.
29 changes: 29 additions & 0 deletions COPYING
@@ -1,3 +1,5 @@
CCTOOLS License:

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Expand Down Expand Up @@ -337,3 +339,30 @@ proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.


FILE dttools/src/json.[ch]:

Copyright (C) 2012 James McLaughlin et al. All rights reserved.
https://github.com/udp/json-parser

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1 change: 1 addition & 0 deletions dttools/src/Makefile
Expand Up @@ -44,6 +44,7 @@ SOURCES = auth.c \
hmac.c \
http_query.c \
itable.c \
json.c \
link.c \
link_auth.c \
link_nvpair.c \
Expand Down

0 comments on commit 3dd045a

Please sign in to comment.