52 lines
1.7 KiB
Markdown
52 lines
1.7 KiB
Markdown
|
```
|
||
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
||
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
||
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
||
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
||
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
||
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
||
|
```
|
||
|
# abstract class JsonHelper (Details)
|
||
|
> namespace: **VDM\Joomla\Utilities**
|
||
|
```uml
|
||
|
@startuml
|
||
|
abstract JsonHelper #Orange {
|
||
|
+ {static} check($string) : bool
|
||
|
+ {static} string($value, $separator = ", ...)
|
||
|
}
|
||
|
|
||
|
note right of JsonHelper::check
|
||
|
Check if you have a json string
|
||
|
|
||
|
since: 3.0.9
|
||
|
return: bool
|
||
|
end note
|
||
|
|
||
|
note right of JsonHelper::string
|
||
|
Convert a json object to a string
|
||
|
|
||
|
since: 3.0.9
|
||
|
|
||
|
arguments:
|
||
|
$value
|
||
|
$separator = "
|
||
|
$table = null
|
||
|
$id = 'id'
|
||
|
$name = 'name'
|
||
|
end note
|
||
|
|
||
|
@enduml
|
||
|
```
|
||
|
|
||
|
---
|
||
|
```
|
||
|
██╗ ██████╗██████╗
|
||
|
██║██╔════╝██╔══██╗
|
||
|
██║██║ ██████╔╝
|
||
|
██ ██║██║ ██╔══██╗
|
||
|
╚█████╔╝╚██████╗██████╔╝
|
||
|
╚════╝ ╚═════╝╚═════╝
|
||
|
```
|
||
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||
|
|