question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support json config

See original GitHub issue

Currently the built in config system only supports toml. Let’s add json as 1st class.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
skellockcommented, Dec 13, 2017

Nah… it didnt take off like I’d hoped. Feel free to detomilify.

1reaction
skellockcommented, Oct 1, 2017

Ya. It starts there.

It’s also here as well.

The idea is, after everything is up & running, you have 1 object, living on the context object, called config which contains:

  • defaults from all plugins
  • overridden by any defaults from the .toml config file from the cli
  • overridden by any defaults from the user’s config file.

This particular issue is, we’re using toml for that configuration (as well as plugins), but json feels like a better fit for javascript CLIs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating JSON Configuration Files for Your Deployments
Manually creating the JSON configuration file · Create a file name app.json . · Use the configuration information that is provided in the...
Read more >
Advanced JSON configuration properties - IBM
You can use a JSON configuration file to define certain properties for individual tenants, rather than configuring environment variables that ...
Read more >
Configuration in ASP.NET Core - Microsoft Learn
Learn how to use the Configuration API to configure AppSettings in an ASP.NET Core app.
Read more >
Why JSON isn't a Good Configuration Language - Lucidchart
Learn why JSON falls short as a configuration language and what you can use instead as you create a new application, framework, or...
Read more >
JSON Configuration Files - TIBCO Product Documentation
When Central Administration is used, TIBCO Enterprise Message Service stores server configuration settings in a single JSON-based configuration file.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found