Information about the package, js-json, which is shipped with common Linux distributions. The js-json package is designed for, An implementation of JSON encoders/decoders in JavaScript.
Package Name:
js-json
Summary:
An implementation of JSON encoders/decoders in JavaScript
Description:
JSON is a light-weight, language independent, data interchange format. See http://www.JSON.org/ This software is an implementation of JSON encoders/decoders in Javascript. json2.js: This file creates a JSON property in the global object, if there isn't already one, setting its value to an object containing a stringify method and a parse method. The parse method uses the eval method to do the parsing, guarding it with several regular expressions to defend against accidental code execution hazards. On current browsers, this file does nothing, preferring the built-in JSON object. json.js: This file does everything that json2.js does. It also adds a toJSONString method and a parseJSON method to Object.prototype. Use of this file is not recommended. json_parse.js: This file contains an alternative JSON parse function that uses recursive descent instead of eval. json_parse_state.js: This files contains an alternative JSON parse function that uses a state machine instead of eval. cycle.js: This file contains two functions, JSON.decycle and JSON.retrocycle, which make it possible to encode cyclical structures and dags in JSON, and to then recover them. JSONPath is used to represent the links. http://GOESSNER.net/articles/JsonPath/
Architecture:
noarch
Version:
20140204git3d7767b
Release:
4.el6
Size:
17 k
Repository:
epel
From Repository:
Licence:
Public Domain
Control the js-json package with the following handy commands outlined below.
yum install js-json
This command will install js-json on the server.
yum remove js-json
This command will un-install js-json on the server. When you run this command, you will be asked if you are sure that you want to remove js-json, so you have to manually confirm that you want to do this.
yum -y remove js-json
This command will un-install js-json on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove js-json when using the -y flag.
yum update js-json
This command will update js-json to the latest version. When you run this command, you will be asked if you are sure that you want to remove js-json, so you have to manually confirm that you want to do this.
yum -y update js-json
This command will update js-json to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove js-json when using the -y flag.
yum info js-json
This command will show you core information about the js-json package.
yum deplist js-json
This command will show you the dependencies for js-json. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update js-json
This command will check if there is an update waiting on js-json. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.