GithubHelp home page GithubHelp logo

astron's Introduction

astro-json

C++ Dom Manipulator

Desteklenen Veri Türleri

  • String
  • Number
  • Null
  • Boolean
  • Object
  • Array

Desteklenecek veri türleri

  • ID -> uuid,big integer ve object id parametrelerini alabilir
  • HASHED -> parametre olarak formatını alır (md5,sha1...)
  • Ref -> harici dosya için referans. Ek olarak pointer ile block seçilebilir
  • Poly -> Polygon type
  • Multi-Poly -> Multiple Polygons
  • Point -> Point Type
  • Multi-Point -> Multiple Point
  • Line -> line -> Multiple-Line -> Multiple Line
  • Date -> Tarih ve saat formatı

Örnekler

String

{
    "name": "string"
}

Number

{
    "age": 32
}

Null

{
    "null": null
}

Boolean

{
    "isTrue": true
}

Object

{
    "person": {
        "name": "string",
        "age": 32
    }
}

Array

{
    "persons": [
        {
            "name": "string",
            "age": 32
        }
    ]
}

ID

{
    "id": $ID(uuid),
    "id2": $ID(bigint),
    "id3": $ID(objectid)
}

HASHED

Destek Listesi

  • CRC (Cyclic Redundancy Check)
  • MD5 (Message-Digest Algorithm 5)
  • SHA-1 (Secure Hash Algorithm 1)
  • SHA-2 (Secure Hash Algorithm 2)
  • SHA-3 (Secure Hash Algorithm 3)
  • BLAKE2 (optimized for 64-bit platforms)
  • MurmurHash
  • CityHash
  • xxHash
  • SipHash
{
    "password": $HASHED("Hello, World","md5")
}

Ref

{
    "userName": $Ref("./person","4.name") // ./person dosyasından 4. elemanın name değerini alır
}

Poly

En az 3 noktaya sahip vektörel değer

{
    "poly": $Poly([
        [1,2],
        [3,4],
        [5,6]
    ]),
        "multiPoly": $Poly([
        [1,2],
        [3,4],
        [5,6]
    ],[
        [1,2],
        [3,4],
        [5,6]
    ]...),
}

Point

{
    "point": $Point(1,2),
    "multiPoint",$Point([1,2],[2,3])
}

Line

En az 2 pointe sahip olan vektörel değer

{
    "line": $Line([[1,2],[[1,2],[2,3]]]), // en az 2 point olarak 1 elemana sahiptir
    "multiPoint",$Point([[1,2],[[1,2],[2,3]]],[[1,2],[[1,2],[2,3]]]) // en az 2 line formatında elemana sahiptir
}

Date

{
    "date": $Date("2020-01-01 12:00:00",tz=+3)
}

astron's People

Contributors

meftunca avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.