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.

How to get json example of a configurable class?

See original GitHub issue

I was able to find this example in the guides/tutorials on how to inspect a configurable class.

$ java -cp <path-to-jars-including-olcut-core> com.oracle.labs.mlrg.olcut.config.DescribeConfigurable -n <class-name> -o -e xml

How can I get a json example instead of xml? I’ve searched but cannot find any documentation. References in the documentation have --config-file-format com.oracle.labs.mlrg.olcut.config.json.JsonConfigFactory, but --config-file-format is only a valid argument for ConfigurationManager class and not DescribeConfigurable.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
C-Comptoncommented, Sep 13, 2021

Thank you. I will give it a try and report back.

0reactions
C-Comptoncommented, Sep 13, 2021

Perfect. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring REST XML and JSON Example - DigitalOcean
Welcome to Spring Restful Web Services XML and JSON example. ... Configure to plugin JSON as request and response in method handler ...
Read more >
Load Spring Boot Properties From a JSON File - Baeldung
In this tutorial, we'll focus on how you can load properties from JSON ... Now we have to connect our JSON file to...
Read more >
Creating JSON Configuration Files for Your Deployments
Manually creating the JSON configuration file​​ Use the following steps if you need to manually create the configuration file, for example, when your...
Read more >
Configuration in ASP.NET Core - Microsoft Learn
For example, the JSON configuration provider is added before the Command-line configuration ... Get<T> with the PositionOptions class:.
Read more >
Reading and Writing Configuration Files with JSON-B
JSON -B ships with Java EE 8 and is already included in the API: ... JsonbConfig; public class Configuration { public String workshop; ......
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