1*4882a593SmuzhiyunCopyright 2019 Joe Drago. All rights reserved. 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 4*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are met: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun1. Redistributions of source code must retain the above copyright notice, this 7*4882a593Smuzhiyunlist of conditions and the following disclaimer. 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun2. Redistributions in binary form must reproduce the above copyright notice, 10*4882a593Smuzhiyunthis list of conditions and the following disclaimer in the documentation 11*4882a593Smuzhiyunand/or other materials provided with the distribution. 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 14*4882a593SmuzhiyunAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15*4882a593SmuzhiyunIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16*4882a593SmuzhiyunDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 17*4882a593SmuzhiyunFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*4882a593SmuzhiyunDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 19*4882a593SmuzhiyunSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 20*4882a593SmuzhiyunCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 21*4882a593SmuzhiyunOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22*4882a593SmuzhiyunOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun------------------------------------------------------------------------------ 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunFiles: tests/cJSON.* 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunCopyright (c) 2009-2017 Dave Gamble and cJSON contributors 29*4882a593Smuzhiyun 30*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy 31*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal 32*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights 33*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell 34*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is 35*4882a593Smuzhiyunfurnished to do so, subject to the following conditions: 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in 38*4882a593Smuzhiyunall copies or substantial portions of the Software. 39*4882a593Smuzhiyun 40*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 41*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 42*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 43*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 44*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 45*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 46*4882a593SmuzhiyunTHE SOFTWARE. 47