Skip to main content
0 votes
1 answer
65 views

My Spring Boot API an entity and enum with the same name: @Getter @Setter @NoArgsConstructor(access = AccessLevel.PUBLIC) @Root(strict = false, name = "Customer_Type") public class ...
runnerpaul's user avatar
  • 7,564
0 votes
0 answers
85 views

I have a program that gets a csv and conver it into a kmz that can be opened in Google Earth The problem is that one of the inputs is the Description that has a table inside So I have this: @Element(...
adrian's user avatar
  • 137
-1 votes
1 answer
100 views

I am using the simple-xml library (https://simple.sourceforge.net/home.php) to deserialize a list of string elements. <Parent> <PropertyList> <Entry>image/png</Entry> ...
lostintranslation's user avatar
1 vote
1 answer
157 views

Serializing a list that may contain elements with different types in Java using SimpleXML, you can you something such as class Root { @ElementListUnion({ @ElementList(entry = "Foo", ...
Henrik Klev's user avatar
0 votes
1 answer
313 views

I'm struggling to get simpleXML and Kotlin to read a XML file properly. I've got the following Root class: class ServerConfiguration { @field:Root(strict = false, name = "...
K. K.'s user avatar
  • 136
0 votes
1 answer
47 views

I am trying to convert that xml to Java POJO but having some issues <betting> <over-under status="active" opening="false" date="2022-05-26T19:50:55.243-04:00"...
Hasan Mumin's user avatar
1 vote
0 answers
115 views

Is it possible to use recursion with simple framework to deserialize highly nested xml structure? Below is sample xml structure that can contain n-levels of Format element lists and sub-list of either ...
RCL's user avatar
  • 11
0 votes
1 answer
566 views

How to create data class for this info: <ValCurs Date="09.02.2022" name="Foreign Currency Market"> <Valute ID="R01010"> <NumCode>036</NumCode> ...
Monsieur DanKar's user avatar
2 votes
1 answer
227 views

Is it possible, to address a nodes Attributes and Value with SimpleXML? For example in tag "from": <?xml version="1.0" encoding="UTF-8"?> <note> <to&...
RigaJona's user avatar
1 vote
0 answers
242 views

I am trying to parse xml data to Kotlin/Java and can't figure out how to do it properly. Simpleframework throws org.simpleframework.xml.core.PersistenceException: Constructor not matched for class ...
Tobias Wecht's user avatar
1 vote
1 answer
893 views

My use case require me to fetch an XML formatted as below and need to map it into a JSON object: <settings> <client ip="......" lat="...." lon="...." isp=".....
Astrit Veliu's user avatar
  • 1,602
2 votes
1 answer
197 views

SimpleXML library has issue. It ignores @Root name. Here is code with test: Class: @Root(name = "res", strict = true) @Data @NoArgsConstructor @AllArgsConstructor class Response { @...
Solata's user avatar
  • 1,502
2 votes
1 answer
260 views

I have a problem extracting value form one field. Example XML here: <Rule id="xccdf_org.cisecurity.benchmarks_rule_4.1.2_Ensure_that_the_kubelet_service_file_ownership_is_set_to_rootroot" ...
Mithrand1r's user avatar
  • 2,363
1 vote
2 answers
1k views

I'm trying to create a POJO for the following structure for deserializing an xml, which I cannot change whatsoever: <Flat> <Door> <Type>Wood</Type> </Door>...
coras09's user avatar
  • 343
0 votes
1 answer
359 views

I need to put the values inside a pat as the values of my XML file for Ex: Map<String, String> props = new HashMap<>(); props.put("role", "Admin"); props.put("...
Hamer's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
36