JsonResume creates pretty versions of resume from a single JSON input file. Output formats are specifically customized to modern resume templates. Also, there are a ton of customizations to the templates possible, to make your own version of resume created easily and super quickly.
$ gem install json_resume
$ json_resume sample
A sample prateek_cv.json
is generated in the current working directory(cwd).
Modify it as per the needs, and remove or keep rest of the fields empty.
Note: YAML files are also supported. Try $ json_resume sample --in=yaml
.
json_resume convert [--template=/path/to/custom/template]
[--out=html|html_pdf|tex|tex_pdf|md]
[--locale=es|en|ge|fi|pl|pt|zh_cn|ja]
[--dest_dir=/path/to/put/output/files]
[--theme=default|classic] <json_input>
<json_input> can be /path/to/json OR "{'json':'string'}" OR http://raw.json
NEW: YAML files are also supported. Pass path/to/yaml file (must have .yaml or .yml).
$ json_resume convert prateek_cv.json
A directory resume/
will be generated in cwd, which can be put hosted on /var/www or on github pages. (Sample)
html
version without icons can be generated by giving icons
as false
: (Sample)
"settings": {
"icons" : false
},
$ json_resume convert --out=html_pdf prateek_cv.json
$ json_resume convert --out=tex prateek_cv.json
LaTex also includes a classic
theme. Usage: --theme=classic
(Sample).
$ json_resume convert --out=tex_pdf prateek_cv.json
$ json_resume convert --out=md prateek_cv.json
Support for en
, ge
, es
, fi
, pl
and pt
right now. Pull requests for others are welcome.
$ json_resume convert --locale=es prateek_cv.json
It is also possible to define a custom location for locale definitions.Pass the option --locale_dir=path/to/defs
.In this location there should be the definitions available.The default one is en.yml
, others may be provided as well.This is useful if you want to define new headings.
JSON is parsed as per the markdown
standards. This implies all this works-
templates/
. These can be modified and given as --template=/path/to/template
to convert
.json_resume
svgs from the json_resume_icon repo zip. Unzip it, svgs are present in /SVG
..css
and .png
) from the grunticon
folder into your local json_resume
gem's folder json_resume-1.X.X/extras/resume_html/public/css/
, replacing existing files (Read this to find your gem's location in your machine).div
class in the template to include your new grunticon (<div class="icon-user icon-square">
, where "user" is the SVG name). You can also check grunticon's generated preview.html
file to verify the icon class name.json_resume convert --template=/path/to/template <json>
, and you should be able to see the changes in the generated HTML. Also, steps 1-5 are to be done just once and the icons will be stored within your local gem.es
, pt
right now).Many awesome formats can be created by writing new mustache templates. We
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)If you want to checkout your local changes do the following:
gem build json_resume.gemspec
sudo gem install ./json_resume-x.y.z.gem
with open('/Users/ronald/Downloads/Archive/resume.json','r') as f: cvResult = f.readlines() import json #json.load()是操作文件,json.loads()是操作字符串 for c in cvResult: if (json.loads(c)['job_id']['$
JSON 很通用的处理数据的工具,各个语言都可以使用。 这个App就是把一个网上的用JSON格式保存的数据拿下来,然后保存到字典中,显示出来,用iOS自己的方法。 一定要记得写最后的那个 task.resume() ,很多问题就出在这里。可以每次先把它写上! // // ViewController.swift // Json Example // // Created by zcd
解析字符串例子: {"data":{"output":{"dataList":[{"number":"DZ9X189771635","success":true,"message":"ECN修改BOM信息成功","id":null}]},"id":1648414728420110336},"errorCode":"success","status":true,"success":true} d
您可以使用两个数组,然后使用两个键(人员和汽车)构建一个新字典,使用两个数组作为与这两个键关联的值.例如: NSArray *people = @[@{@"index":@"1",@"lastName":@"Brown",@"firstName":@"Kathy",@"company":@"ABC inc."}, @{@"index":@"2",@"lastName":@"Smith",@"fir
方法一(使用MSScriptControl.ScriptControl): <% Dim sc4Json,arr0,json InitScriptControl json="{""name"":""123"",""content"":[{""id"":""1""},{""id"":""2""}]}" Set jsonobj=getJSONObject(json) '方法一 getJSArray