skip to Main Content

Modify .json file using Anisble

My file structure is like below [root@test exim]# cat exim.json { "general": { "max_hourly_email": 0, "max_notify_email": 0, "enable_mail_retry": "1", "mail_retry": 15, "enable_roundcube": "1", "default_quota_val": 32768, "default_quota": "1", "eximmailtrap": "1", "no_local_emailing": "0", "dkim_selector": "x", "disable_ipv6": "0", "custom_mailips": "0", "message_linelength_limit": 2048 I…

VIEW QUESTION

Needed to filter null values from JSON response in spring boot project

public class APIService { private List<CoinDTO> coinList = new ArrayList<>(); private final TrackerConfigProperties trackerConfig; //Injecting configuration properties into the constructor. public APIService(TrackerConfigProperties trackerConfig) { this.trackerConfig = trackerConfig; } public List<CoinDTO> getCoinList() { return coinList; } public void setCoinList(List<CoinDTO> coinList) {…

VIEW QUESTION
Back To Top
Search