// Path: src/main/java/com/presidentio/testdatagenerator/parser/StringDeserializer.java
// public class StringDeserializer extends JsonDeserializer<String> {
// 
//     private static final Pattern REGEX = Pattern.compile("\\$\\{(\\w+)}");
// 
//     @Override
//     public String deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
//             throws IOException {
//         String str = jsonParser.getText();
//         return formatString(str);
//     }
// 
//     public String formatString(String s) {
//         Matcher matcher = REGEX.matcher(s);
//         StringBuilder result = new StringBuilder();
//         int curIndex = 0;
//         while (matcher.find()) {
//             String group = matcher.group(1);
//             result.append(s.substring(curIndex, matcher.start()));
//             result.append(evaluate(group));
//             curIndex = matcher.end();
//         }
//         result.append(s.substring(curIndex, s.length()));
//         return result.toString();
//     }
// 
//     private String evaluate(String s) {
//         switch (s) {
//             case StringPlaceholderConst.TMP:
//                 return System.getProperty("java.io.tmpdir");
//             default:
//                 throw new IllegalArgumentException("Unknown expression: " + s);
//         }
//     }
// }


import org.codehaus.jackson.map.annotate.JsonDeserialize;
import java.util.Map;
import com.presidentio.testdatagenerator.parser.StringDeserializer;
/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.presidentio.testdatagenerator.model;



public class Output {

    private String type;

// Path: src/main/java/com/presidentio/testdatagenerator/parser/StringDeserializer.java
// public class StringDeserializer extends JsonDeserializer<String> {
// 
//     private static final Pattern REGEX = Pattern.compile("\\$\\{(\\w+)}");
// 
//     @Override
//     public String deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
//             throws IOException {
//         String str = jsonParser.getText();
//         return formatString(str);
//     }
// 
//     public String formatString(String s) {
//         Matcher matcher = REGEX.matcher(s);
//         StringBuilder result = new StringBuilder();
//         int curIndex = 0;
//         while (matcher.find()) {
//             String group = matcher.group(1);
//             result.append(s.substring(curIndex, matcher.start()));
//             result.append(evaluate(group));
//             curIndex = matcher.end();
//         }
//         result.append(s.substring(curIndex, s.length()));
//         return result.toString();
//     }
// 
//     private String evaluate(String s) {
//         switch (s) {
//             case StringPlaceholderConst.TMP:
//                 return System.getProperty("java.io.tmpdir");
//             default:
//                 throw new IllegalArgumentException("Unknown expression: " + s);
//         }
//     }
// }


// Path: src/main/java/com/presidentio/testdatagenerator/model/Output.java
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import java.util.Map;
import com.presidentio.testdatagenerator.parser.StringDeserializer;

/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.presidentio.testdatagenerator.model;



public class Output {

    private String type;

    @JsonDeserialize(contentUsing = StringDeserializer.class)