A command-line tool to generate random JSON strings. Expected to be useful for testing other software. This project is amusing to myself because the initial version is barely 100 lines of Go code and it still serves a real purpose, also being a useful example for Go beginners (hopefully).
- Go (tested with
go1.19.1 linux/amd64
)
git clone <URL-OF-THIS-REPO>
cd random-json
go run .
Although the initial commit itself provides a basic working version, this project is still a work in progress. Do not depend on the JSON generated by this tool without making them pass through a validator first.
Copyright (C) 2022 Nandakumar Edamana
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.