Skip to content

Instantly share code, notes, and snippets.

@SufferProgrammer
Created January 19, 2018 19:35
Show Gist options
  • Save SufferProgrammer/e0c157dca02dbe1e1aa3796e813e522e to your computer and use it in GitHub Desktop.
Save SufferProgrammer/e0c157dca02dbe1e1aa3796e813e522e to your computer and use it in GitHub Desktop.
Template for json file
{
"archiveMountPoint" : "/tmp/appsName/documentTitle/",
"archiveName" : "archive_Name_date",
"fileArchive" : [
{
"title": "document 1",
"attachment" : "3 Document",
"from" : "Pak Rinto Purnomo, SE",
"subTitle" : "mengirim dokumen ke BPKAD",
"acceptedBy" : "Pak Siapa",
"dateAdded": "12/09/2017",
"description" : "Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore ullam, quasi dolore illo architecto illum esse corporis hic ipsam quam iusto. Ad veniam minus delectus cumque suscipit ea laboriosam necessitatibus?",
"attachmentFile" : [
{"path" : "/home/sda/sada/documenter/documenter_1_1.jpg"},
{"path" : "/home/sda/sada/documenter/documenter_1_2.jpg"},
{"path" : "/home/sda/sada/documenter/documenter_1_3.png"}
],
"receiptmentSignature" : [
{"path" : "/home/who/Project/minpr/desktop/src/images/receipment.png"}
]
},
{
"title": "document 2",
"attachment" : "2 Document",
"from" : "Ibu sekertaris",
"subTitle" : "mengirim dokumen ke Pemda",
"acceptedBy" : "Pak Siapa",
"dateAdded": "12/09/2017",
"description" : "Lorem ipsum dolor sit amet consectetur adipisicing elit. Labore ullam, quasi dolore illo architecto illum esse corporis hic ipsam quam iusto. Ad veniam minus delectus cumque suscipit ea laboriosam necessitatibus?",
"attachmentFile" : [
{"path" : "/home/sda/sada/documenter/documenter_2_1.png"}
],
"receiptmentSignature" : [
{"path" : "/home/who/Project/minpr/desktop/src/images/receipment.png"}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment