我可以分发JSON.NET我的商业应用?我的、商业、JSON、NET

2023-09-03 16:43:26 作者:心软是致命的

我要寻找一个.NET JSON库,我可以用它来访问JSON对象像时尚的XPath。例如,给定一个JSON对象字符串中,可以通过在另一个字符串指定路径访问其属性。好吧,我发现JSON.NET将做的工作,但我不知道我是否可以使用,并与我的商业应用分发无任何法律后果或限制。另外,我不打算分发我的应用程序的code。

我查了一下他们的自述,以及许可的状态下。我只是想确保没有任何隐藏的信息,或有用的东西就知道捡这个库前。谢谢!

许可证:

  

版权所有(C)2007年詹姆斯·牛顿景

     

特此授权,免费的,任何人获得一份本   软件和相关文档文件(软件),以处理本软件   不受任何限制,包括但不限于使用权,复制,修改,   合并,发布,分发,再许可和/或销售软件的副本,并   允许个人向谁软件附有这样做,符合以下   条件:

     

以上版权声明和本许可声明应包括在所有副本   本软件的或主要部分。

     

本软件按原样,不附带任何形式,EX $ P $干燥综合征或暗示的,   包括但不限于适销性,适合某一   特定用途和不侵权。在任何情况下,作者或版权所有   持有人承担任何索赔,损失或其他责任,无论是在一项行动   合同,侵权还是其他原因,从,淘汰或与本软件   或使用或其他交易在软件中。

解决方案

JSON.NET是MIT许可,它允许你使用任何类型的应用程序没有任何限制许可。顺便说一句,我引用您从家网站它,如果你在一个商业使用它,我会建议你做以下应用程序(不觉得有责任,当然):

  

Json.NET是曾开发过一个免费的开源项目   数百我自己的时间小时。如果您正在使用Json.NET   市场上,你会发现Json.NET有用我倒是AP preciate捐款   帮助支持未来的发展。 -JamesNK

I am looking for a .NET JSON library that I can use to access JSON objects in a xpath like fashion. For example, given a JSON object in a string, can access its attributes by specifying a path in another string. Well, I found JSON.NET will do the job, however I am not sure if I can use and distribute it with my commercial application without any legal consequences or restrictions. Also, I am not planning to distribute the code of my app.

I checked their readme, and the license states the following. I just want to make sure there is no hidden information, or useful things to know before picking this library. Thanks!

.NET处理Json的几种方式

License:

Copyright (c) 2007 James Newton-King

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.

解决方案

JSON.NET is licensed under the MIT License which allows you to use it any type of application without any restriction. By the way I am quoting you the following from the home site which I would recommend you doing if you use it in a commercial application (don't feel obligated of course):

Json.NET is a free open source project that has been developed over hundreds of hours of my own time. If you are using Json.NET commercially and you find Json.NET useful I'd appreciate donations to help support future development. -JamesNK