FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java/src/main/java/com/jsoniter/Extension.java at master · akan/java · GitHub
akan
/
java
Public
forked from
json-iterator/java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
java
/
src
/
main
/
java
/
com
/
jsoniter
/
Extension.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (35 loc) · 1.03 KB
Breadcrumbs
java
/
src
/
main
/
java
/
com
/
jsoniter
/
Extension.java
Copy path
File metadata and controls
40 lines (35 loc) · 1.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package
com
.
jsoniter
;
import
java
.
lang
.
reflect
.
Type
;
import
java
.
util
.
List
;
public
interface
Extension
{
/**
* Customize type decoding
*
*
* @param cacheKey
* @param type change how to decode the type
* @return null, if no special customization needed
*/
Decoder
createDecoder
(
String
cacheKey
,
Type
type
);
/**
* Customize the binding source or decoder
*
* @param field binding information
* @return true, if stops other extension from customizing same field
*/
boolean
updateBinding
(
Binding
field
);
/**
* Customize which constructor to call
*
* @param clazz the class of instance to create
* @return null, if fallback to default behavior
*/
CustomizedConstructor
getConstructor
(
Class
clazz
);
/**
* Customize setters to call after instance is created and fields set
*
* @param clazz the class that is binding
* @return null, if fallback to default behavior
*/
List
<
CustomizedSetter
>
getSetters
(
Class
clazz
);
}
Back
|
FazBrowse Home
|
New Git URL