Express Your Expectations: A Fast, Compliant JSON Pull Parser for Writing Robust Applications
Müller — @foonathan Express your expectations CppCon 2023-10-03 1tc::json::parser Extract some JSON members tc nlohmann RapidJSON Boost.JSON simdjson 0 10 20 30 40 Library Time in ms fully validating expectations CppCon 2023-10-03 2(JSON) Parser design What is a parser? Jonathan Müller — @foonathan Express your expectations CppCon 2023-10-03 3Javascript Object Notation (JSON) Jonathan Müller — @foonathan @foonathan Express your expectations CppCon 2023-10-03 4Javascript Object Notation (JSON) Idea: Human-readable serialization of Javascript objects. Jonathan Müller — @foonathan Express your expectations CppCon0 码力 | 143 页 | 736.91 KB | 5 月前3Conda 25.1.x Documentation
(case insensitive sys- tems, incompatible paths, etc). The only workaround here is to use --dry-run --json to obtain the solution and process the payload into a lockfile that can be shared with the target temporary environment first just to delete it later? Fortunately, there's a way: you can invoke conda in JSON mode and then process the output with jq. � Tip You'll need jq in your system. If you don't have "@EXPLICIT" > explicit.txt CONDA_PKGS_DIRS=$(mktemp -d) conda create --dry-run MATCHSPECS_GO_HERE --json | jq -r '. ˓→actions.FETCH[] | .url + "#" + .md5' >> explicit.txt The syntax in Windows only needs0 码力 | 822 页 | 5.20 MB | 7 月前3Conda 24.11.x Documentation
(case insensitive sys- tems, incompatible paths, etc). The only workaround here is to use --dry-run --json to obtain the solution and process the payload into a lockfile that can be shared with the target temporary environment first just to delete it later? Fortunately, there's a way: you can invoke conda in JSON mode and then process the output with jq. � Tip You'll need jq in your system. If you don't have "@EXPLICIT" > explicit.txt CONDA_PKGS_DIRS=$(mktemp -d) conda create --dry-run MATCHSPECS_GO_HERE --json | jq -r '. ˓→actions.FETCH[] | .url + "#" + .md5' >> explicit.txt The syntax in Windows only needs0 码力 | 818 页 | 5.21 MB | 7 月前3Conda 24.5.x Documentation
macOS Catalina). Each package has an index.json file which lists the package’s dependencies. This file resides in ~anaconda/pkgs/package_name/info/index.json. 4. Now you can find what packages depend depend on a specific package. Use grep to search all index.json files as follows: grep package_name ~/anaconda/pkgs/*/info/index.json The result will be the full package path and version of anything containing Example: grep numpy ~/anaconda3/pkgs/*/info/index.json Output from the above command: /Users/testuser/anaconda3/pkgs/anaconda-4.3.0-np111py36_0/info/index.json: numpy 1.11.3␣ ˓→py36_0 /Users/testuser/ana0 码力 | 794 页 | 5.01 MB | 7 月前3Conda 24.9.x Documentation
(case insensitive sys- tems, incompatible paths, etc). The only workaround here is to use --dry-run --json to obtain the solution and process the payload into a lockfile that can be shared with the target temporary environment first just to delete it later? Fortunately, there's a way: you can invoke conda in JSON mode and then process the output with jq. � Tip You'll need jq in your system. If you don't have "@EXPLICIT" > explicit.txt CONDA_PKGS_DIRS=$(mktemp -d) conda create --dry-run MATCHSPECS_GO_HERE --json | jq -r '. ˓→actions.FETCH[] | .url + "#" + .md5' >> explicit.txt The syntax in Windows only needs0 码力 | 799 页 | 5.26 MB | 7 月前3Conda 24.7.x Documentation
macOS Catalina). Each package has an index.json file which lists the package’s dependencies. This file resides in ~anaconda/pkgs/package_name/info/index.json. 4. Now you can find what packages depend depend on a specific package. Use grep to search all index.json files as follows: grep package_name ~/anaconda/pkgs/*/info/index.json The result will be the full package path and version of anything containing Example: grep numpy ~/anaconda3/pkgs/*/info/index.json Output from the above command: /Users/testuser/anaconda3/pkgs/anaconda-4.3.0-np111py36_0/info/index.json: numpy 1.11.3␣ ˓→py36_0 /Users/testuser/ana0 码力 | 808 页 | 4.97 MB | 7 月前3Conda 24.3.x Documentation
macOS Catalina). Each package has an index.json file which lists the package’s dependencies. This file resides in ~anaconda/pkgs/package_name/info/index.json. 4. Now you can find what packages depend depend on a specific package. Use grep to search all index.json files as follows: grep package_name ~/anaconda/pkgs/*/info/index.json The result will be the full package path and version of anything containing Example: grep numpy ~/anaconda3/pkgs/*/info/index.json Output from the above command: /Users/testuser/anaconda3/pkgs/anaconda-4.3.0-np111py36_0/info/index.json: numpy 1.11.3␣ ˓→py36_0 /Users/testuser/ana0 码力 | 786 页 | 4.98 MB | 7 月前3Conda 24.4.x Documentation
macOS Catalina). Each package has an index.json file which lists the package’s dependencies. This file resides in ~anaconda/pkgs/package_name/info/index.json. 4. Now you can find what packages depend depend on a specific package. Use grep to search all index.json files as follows: grep package_name ~/anaconda/pkgs/*/info/index.json The result will be the full package path and version of anything containing Example: grep numpy ~/anaconda3/pkgs/*/info/index.json Output from the above command: /Users/testuser/anaconda3/pkgs/anaconda-4.3.0-np111py36_0/info/index.json: numpy 1.11.3␣ ˓→py36_0 /Users/testuser/ana0 码力 | 786 页 | 4.99 MB | 7 月前3Conda 24.1.x Documentation
macOS Catalina). Each package has an index.json file which lists the package’s dependencies. This file resides in ~anaconda/pkgs/package_name/info/index.json. 4. Now you can find what packages depend depend on a specific package. Use grep to search all index.json files as follows: grep package_name ~/anaconda/pkgs/*/info/index.json The result will be the full package path and version of anything containing Example: grep numpy ~/anaconda3/pkgs/*/info/index.json Output from the above command: /Users/testuser/anaconda3/pkgs/anaconda-4.3.0-np111py36_0/info/index.json: numpy 1.11.3␣ ˓→py36_0 /Users/testuser/ana0 码力 | 795 页 | 4.73 MB | 7 月前3Conda 23.11.x Documentation
conda, Release 23.11.1.dev1 Package structure . bin pyflakes info LICENSE.txt files index.json paths.json recipe lib python3.5 • bin contains relevant binaries for the package. • lib contains the discussed below. Info • files – a list of all the files in the package (not included in info/) • index.json – metadata about the package including platform, version, dependencies, and build info { "arch": "platform": "linux", "subdir": "linux-64", "timestamp": 1535416612069, "version": "0.0.0" } • paths.json – a list of files in the package, along with their associated SHA-256, size in bytes, and the type0 码力 | 781 页 | 4.79 MB | 7 月前3
共 153 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16