[
https://issues.apache.org/jira/browse/APEXMALHAR-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418689#comment-15418689
]
ASF GitHub Bot commented on APEXMALHAR-2151:
--------------------------------------------
Github user chinmaykolhatkar commented on a diff in the pull request:
https://github.com/apache/apex-malhar/pull/364#discussion_r74574766
--- Diff:
contrib/src/main/java/com/datatorrent/contrib/enrich/JsonFSLoader.java ---
@@ -0,0 +1,69 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.datatorrent.contrib.enrich;
+
+import java.io.IOException;
+import java.util.Map;
+
+import org.codehaus.jackson.map.ObjectMapper;
+import org.codehaus.jackson.map.ObjectReader;
+import org.codehaus.jackson.type.TypeReference;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * This implementation of {@link FSLoader} is used to load data from json
file.
+ * <p>
+ * The format of the input file is:
+ * <p>
+ * {"productCategory": 5, "productId": 0} {"productCategory": 4,
"productId": 1}
--- End diff --
One JSON on one line.
> Enricher - Add delimited file format support to FSLoader
> --------------------------------------------------------
>
> Key: APEXMALHAR-2151
> URL: https://issues.apache.org/jira/browse/APEXMALHAR-2151
> Project: Apache Apex Malhar
> Issue Type: New Feature
> Reporter: Chinmay Kolhatkar
> Assignee: Chinmay Kolhatkar
>
> Enricher - Add delimited file format support to FSLoader
> NOTE: Details will follow in discussion on dev@apex mailing list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)