Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
通过tFileInputJSON读取Talend中的JSON数据_Json_Talend - Fatal编程技术网

通过tFileInputJSON读取Talend中的JSON数据

通过tFileInputJSON读取Talend中的JSON数据,json,talend,Json,Talend,我有一个包含json文件的文件夹。下面是JSON文件中的示例数据 {"InstallTime": "1295768962", "Comments": "Will test without extension.", "Theme": "classic/1.0", "Version": "4.0b10pre", "id": "ec8030f7-c20a-464f-9b0e-13a3a9e97384", "Vendor": "Mozilla", "EMCheckCompatibility": "fal

我有一个包含json文件的文件夹。下面是JSON文件中的示例数据

{"InstallTime": "1295768962", "Comments": "Will test without extension.", "Theme": "classic/1.0", "Version": "4.0b10pre", "id": "ec8030f7-c20a-464f-9b0e-13a3a9e97384", "Vendor": "Mozilla", "EMCheckCompatibility": "false", "Throttleable": "1", "Email": "deinspanjer@mozilla.com", "URL": "http://nighthacks.com/roller/jag/entry/the_shit_finally_hits_the", "version": "4.0b10pre", "CrashTime": "1295903735", "ReleaseChannel": "nightly", "submitted_timestamp": "2011-01-24T13:15:48.550858", "buildid": "20110121153230", "timestamp": 1295903748.551002, "Notes": "Renderers: 0x22600,0x22600,0x20400", "StartupTime": "1295768964", "FramePoisonSize": "4096", "FramePoisonBase": "7ffffffff0dea000", "AdapterRendererIDs": "0x22600,0x22600,0x20400", "Add-ons": "compatibility@addons.mozilla.org:0.7,enter.selects@agadak.net:6,{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}:1.3.3,sts-ui@sidstamm.com:0.1,masspasswordreset@johnathan.nightingale:1.04,support@lastpass.com:1.72.0,{972ce4c6-7e08-4474-a285-3208198ce6fd}:4.0b10pre", "BuildID": "20110121153230", "SecondsSinceLastCrash": "810473", "ProductName": "Firefox", "legacy_processing": 0}
我创建了一个Talend作业来解析json并将其保存为CSV

作业已成功执行,并显示以下消息

2017年4月4日11:24开始工作测试

[statistics] connecting to socket on port 3878
[statistics] connected
[statistics] disconnected
Job test ended at 11:24 06/04/2017. [exit code=0]

但是,csv文件是空白的,没有给我任何输出。解析文件时是否丢失了任何内容?有人能帮我吗?

请先尝试找出什么是循环Json查询

然后你就可以找到解决办法了

请检查字段
“循环Json查询”
。列“InstallTime”和“Comments”应该在“循环Json查询”中指定的值内