Skip to content

Instantly share code, notes, and snippets.

View KambizAsadzadeh's full-sized avatar
🎯
Focusing on my engine!

C O M P Ξ Z KambizAsadzadeh

🎯
Focusing on my engine!
View GitHub Profile
import QtQuick
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello World")
function jsonApiRequest() {
var xhr = new XMLHttpRequest();
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: true
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
@KambizAsadzadeh
KambizAsadzadeh / data.json
Last active September 1, 2023 17:33
How to parse JSON inside C++ and QML
{
"model": [
{
"id": 1,
"name": "Kambiz",
"family": "Asadzadeh"
},
{
"id": 2,
"name": "Hamed",
@KambizAsadzadeh
KambizAsadzadeh / JavaScript Version
Last active September 3, 2020 11:14
JSON example in QML
let myData = [{
id: 1,
name: "Kambiz",
family: "Asadzadeh"
},
{
id: 2,
name: "Sorush",
family: "Rabiei"
},

Keybase proof

I hereby claim:

  • I am KambizaAadzadeh on github.
  • I am KambizAsadzadeh (https://keybase.io/kambizasadzadeh) on keybase.
  • I have a public key ASCACC5olC9iakHXhYPzCaWDzo37zAUp5sHB_kas3pEO5wo

To claim this, I am signing this object: