git.lukeshu.com/go/lowmemjson@v0.3.9-0.20230723050957-72f6d13f6fb2/LICENSE.txt (about) 1 lowmemjson - A streaming json library with minimal memory footprint 2 Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com> 3 Copyright (C) 2010-2021 The Go Authors 4 5 This library is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or (at 8 your option) any later version. 9 10 This library is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this library (in the "LICENSE.gpl-2.0.txt" file). If not, 17 see <https://www.gnu.org/licenses/>. 18 19 Parts of the library (the files starting with "borrowed_") are adapted 20 from the Go standard library, and are subject to the terms of the 21 3-clause BSD license later in this file. 22 23 ================================================================================ 24 25 Copyright (c) 2009 The Go Authors. All rights reserved. 26 27 Redistribution and use in source and binary forms, with or without 28 modification, are permitted provided that the following conditions are 29 met: 30 31 * Redistributions of source code must retain the above copyright 32 notice, this list of conditions and the following disclaimer. 33 * Redistributions in binary form must reproduce the above 34 copyright notice, this list of conditions and the following disclaimer 35 in the documentation and/or other materials provided with the 36 distribution. 37 * Neither the name of Google Inc. nor the names of its 38 contributors may be used to endorse or promote products derived from 39 this software without specific prior written permission. 40 41 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 42 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 43 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 44 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 45 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 46 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 47 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 48 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 49 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 50 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 51 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.