EsotericSoftware / EsotericSoftware/yamlbeans

How to generate yml file for a Java class object

Open
#41 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
568
Forks
146
PR merge metrics
No merged PRs in 30d

Description

This library can generate yml file for a java object given,I wanted to generate yml for the Java class object. This is to get the schema of the java class object. We have libraries to get java class to JSON . For a complex POJO, the JSON is cryptic and I prefer to have a yml representation.

**Example**
**From**

```
public class Phone {
public String name;
public String number;
}
```

**To**

```
Phone:
fields:
name:
type: String
number:
type: String
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.