summaryrefslogtreecommitdiff
path: root/LICENSE.txt
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-25 19:13:33 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-25 19:13:33 -0700
commit674ff7dcdb0d54813d133786df211230341ae5d7 (patch)
treeeb16e7f018f5bbe322a8438adaf62eabf50a6246 /LICENSE.txt
parentaee85227e430d7df0a812abf95d75c0a0c4d2716 (diff)
mv LICENSE LICENSE.txt
Diffstat (limited to 'LICENSE.txt')
-rw-r--r--LICENSE.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..55535ad
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,51 @@
+lowmemjson - A streaming json library with minimal memory footprint
+Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
+Copyright (C) 2010-2021 The Go Authors
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+Along with this program, you should have received a copy of the GNU
+General Public License (in the "LICENSE.gpl-2.0.txt" file). If not,
+see <https://www.gnu.org/licenses/>.
+
+Parts of the program (the files starting with "borrowed_") are adapted
+from the Go standard library, and are subject to the terms of the
+3-clause BSD license later in this file.
+
+================================================================================
+
+Copyright (c) 2009 The Go Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * 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.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT
+OWNER 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.