windjson

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package windjson 提供 go-wind-oa / go-wind-im 现有 node_config JSON (version:2 图格式与更早的节点数组旧格式)到 flow.Definition 的转换, 保证存量流程定义可无缝迁移到 go-wind-flow。

Index

Constants

View Source
const FormatName = "wind-json-v2"

FormatName 注册到引擎的格式标识。

Variables

This section is empty.

Functions

func Parse

func Parse(data []byte) (*flow.Definition, error)

Parse node_config JSON → Definition。同时兼容 v2 图格式与旧版节点数组。

Types

type Importer

type Importer struct{}

Importer 实现 flow.Importer。

func (Importer) Format

func (Importer) Format() string

func (Importer) Import

func (Importer) Import(data []byte) (*flow.Definition, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL