When response returns an object from spring-boot, JSON contains all object attributes but, class variables are not available. How can i return static attributes too in the return json??

example class :

```
public class classA{
    private static int var;
    private string name;
    private string address;
}

```

JSON returns as :

```
{ name : "", address : ""}

```

I require, the return to be :

```
{var : "", name : "", address : ""}

```